@aztec/end-to-end 0.0.1-commit.b655e406 → 0.0.1-commit.b8a057fa
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/README.md +217 -14
- package/dest/automine/automine_test_context.d.ts +85 -0
- package/dest/automine/automine_test_context.d.ts.map +1 -0
- package/dest/automine/automine_test_context.js +98 -0
- package/dest/automine/contracts/fixtures/storage_proof_fetcher.d.ts +2 -0
- package/dest/automine/contracts/fixtures/storage_proof_fetcher.d.ts.map +1 -0
- package/dest/automine/contracts/fixtures/storage_proof_fetcher.js +184 -0
- package/dest/automine/contracts/fixtures/storage_proof_fixture.d.ts +18 -0
- package/dest/automine/contracts/fixtures/storage_proof_fixture.d.ts.map +1 -0
- package/dest/automine/contracts/fixtures/storage_proof_fixture.js +120 -0
- package/dest/automine/delivery/onchain_delivery_harness.d.ts +17 -0
- package/dest/automine/delivery/onchain_delivery_harness.d.ts.map +1 -0
- package/dest/automine/delivery/onchain_delivery_harness.js +123 -0
- package/dest/automine/token/blacklist_token_contract_test.d.ts +49 -0
- package/dest/automine/token/blacklist_token_contract_test.d.ts.map +1 -0
- package/dest/automine/token/blacklist_token_contract_test.js +166 -0
- package/dest/automine/token/token_contract_test.d.ts +40 -0
- package/dest/automine/token/token_contract_test.d.ts.map +1 -0
- package/dest/automine/token/token_contract_test.js +119 -0
- package/dest/automine/token/token_test_helpers.d.ts +73 -0
- package/dest/automine/token/token_test_helpers.d.ts.map +1 -0
- package/dest/automine/token/token_test_helpers.js +97 -0
- package/dest/bench/client_flows/benchmark.d.ts +17 -2
- package/dest/bench/client_flows/benchmark.d.ts.map +1 -1
- package/dest/bench/client_flows/benchmark.js +40 -1
- package/dest/bench/client_flows/client_flows_benchmark.d.ts +26 -20
- package/dest/bench/client_flows/client_flows_benchmark.d.ts.map +1 -1
- package/dest/bench/client_flows/client_flows_benchmark.js +159 -140
- package/dest/bench/client_flows/config.d.ts +2 -2
- package/dest/bench/client_flows/config.d.ts.map +1 -1
- package/dest/bench/client_flows/config.js +18 -0
- package/dest/bench/client_flows/data_extractor.d.ts +1 -1
- package/dest/bench/client_flows/data_extractor.js +8 -27
- package/dest/bench/utils.d.ts +10 -9
- package/dest/bench/utils.d.ts.map +1 -1
- package/dest/bench/utils.js +126 -23
- package/dest/composed/ha/ha_full_setup.d.ts +77 -0
- package/dest/composed/ha/ha_full_setup.d.ts.map +1 -0
- package/dest/composed/ha/ha_full_setup.js +383 -0
- package/dest/composed/web3signer/multi_validator_keystore_utils.d.ts +12 -0
- package/dest/composed/web3signer/multi_validator_keystore_utils.d.ts.map +1 -0
- package/dest/{e2e_multi_validator/utils.js → composed/web3signer/multi_validator_keystore_utils.js} +1 -1
- package/dest/fixtures/authwit_proxy.d.ts +15 -0
- package/dest/fixtures/authwit_proxy.d.ts.map +1 -0
- package/dest/fixtures/authwit_proxy.js +34 -0
- package/dest/fixtures/e2e_prover_test.d.ts +27 -29
- package/dest/fixtures/e2e_prover_test.d.ts.map +1 -1
- package/dest/fixtures/e2e_prover_test.js +156 -156
- package/dest/fixtures/elu_monitor.d.ts +21 -0
- package/dest/fixtures/elu_monitor.d.ts.map +1 -0
- package/dest/fixtures/elu_monitor.js +102 -0
- package/dest/fixtures/fixtures.d.ts +83 -3
- package/dest/fixtures/fixtures.d.ts.map +1 -1
- package/dest/fixtures/fixtures.js +86 -3
- package/dest/fixtures/get_acvm_config.d.ts +1 -1
- package/dest/fixtures/get_acvm_config.js +1 -1
- package/dest/fixtures/get_bb_config.d.ts +1 -1
- package/dest/fixtures/get_bb_config.d.ts.map +1 -1
- package/dest/fixtures/get_bb_config.js +5 -5
- package/dest/fixtures/ha_setup.d.ts +71 -0
- package/dest/fixtures/ha_setup.d.ts.map +1 -0
- package/dest/fixtures/ha_setup.js +119 -0
- package/dest/fixtures/index.d.ts +3 -1
- package/dest/fixtures/index.d.ts.map +1 -1
- package/dest/fixtures/index.js +2 -0
- package/dest/fixtures/l1_to_l2_messaging.d.ts +4 -3
- package/dest/fixtures/l1_to_l2_messaging.d.ts.map +1 -1
- package/dest/fixtures/l1_to_l2_messaging.js +2 -2
- package/dest/fixtures/logging.d.ts +1 -1
- package/dest/fixtures/schnorr_hardcoded_account_contract.d.ts +25 -0
- package/dest/fixtures/schnorr_hardcoded_account_contract.d.ts.map +1 -0
- package/dest/fixtures/schnorr_hardcoded_account_contract.js +37 -0
- package/dest/fixtures/setup.d.ts +269 -0
- package/dest/fixtures/setup.d.ts.map +1 -0
- package/dest/fixtures/setup.js +688 -0
- package/dest/fixtures/setup_p2p_test.d.ts +22 -11
- package/dest/fixtures/setup_p2p_test.d.ts.map +1 -1
- package/dest/fixtures/setup_p2p_test.js +60 -41
- package/dest/fixtures/timing.d.ts +42 -0
- package/dest/fixtures/timing.d.ts.map +1 -0
- package/dest/fixtures/timing.js +72 -0
- package/dest/fixtures/token_utils.d.ts +26 -5
- package/dest/fixtures/token_utils.d.ts.map +1 -1
- package/dest/fixtures/token_utils.js +33 -9
- package/dest/fixtures/utils.d.ts +5 -192
- package/dest/fixtures/utils.d.ts.map +1 -1
- package/dest/fixtures/utils.js +4 -648
- package/dest/fixtures/wait_helpers.d.ts +135 -0
- package/dest/fixtures/wait_helpers.d.ts.map +1 -0
- package/dest/fixtures/wait_helpers.js +154 -0
- package/dest/fixtures/web3signer.d.ts +1 -1
- package/dest/fixtures/web3signer.js +1 -1
- 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/forward-compatibility/wallet_rpc_client.d.ts +7 -0
- package/dest/forward-compatibility/wallet_rpc_client.d.ts.map +1 -0
- package/dest/forward-compatibility/wallet_rpc_client.js +15 -0
- package/dest/forward-compatibility/wallet_service.d.ts +3 -0
- package/dest/forward-compatibility/wallet_service.d.ts.map +1 -0
- package/dest/forward-compatibility/wallet_service.js +109 -0
- package/dest/index.d.ts +1 -1
- package/dest/install_legacy_contracts.d.cts +10 -0
- package/dest/install_legacy_contracts.d.cts.map +1 -0
- package/dest/legacy-jest-resolver.d.cts +3 -0
- package/dest/legacy-jest-resolver.d.cts.map +1 -0
- package/dest/multi-node/block-production/setup.d.ts +97 -0
- package/dest/multi-node/block-production/setup.d.ts.map +1 -0
- package/dest/multi-node/block-production/setup.js +158 -0
- package/dest/multi-node/governance/setup.d.ts +67 -0
- package/dest/multi-node/governance/setup.d.ts.map +1 -0
- package/dest/multi-node/governance/setup.js +126 -0
- package/dest/multi-node/multi_node_test_context.d.ts +212 -0
- package/dest/multi-node/multi_node_test_context.d.ts.map +1 -0
- package/dest/multi-node/multi_node_test_context.js +347 -0
- package/dest/multi-node/slashing/inactivity_setup.d.ts +27 -0
- package/dest/multi-node/slashing/inactivity_setup.d.ts.map +1 -0
- package/dest/multi-node/slashing/inactivity_setup.js +111 -0
- package/dest/multi-node/slashing/setup.d.ts +167 -0
- package/dest/multi-node/slashing/setup.d.ts.map +1 -0
- package/dest/multi-node/slashing/setup.js +275 -0
- package/dest/p2p/p2p_network.d.ts +325 -0
- package/dest/p2p/p2p_network.d.ts.map +1 -0
- package/dest/p2p/p2p_network.js +389 -0
- package/dest/p2p/reqresp/utils.d.ts +19 -0
- package/dest/p2p/reqresp/utils.d.ts.map +1 -0
- package/dest/p2p/reqresp/utils.js +193 -0
- package/dest/p2p/shared.d.ts +72 -0
- package/dest/p2p/shared.d.ts.map +1 -0
- package/dest/p2p/shared.js +212 -0
- package/dest/quality_of_service/grafana_client.d.ts +41 -0
- package/dest/quality_of_service/grafana_client.d.ts.map +1 -0
- package/dest/quality_of_service/{alert_checker.js → grafana_client.js} +1 -1
- package/dest/quality_of_service/prometheus_client.d.ts +38 -0
- package/dest/quality_of_service/prometheus_client.d.ts.map +1 -0
- package/dest/quality_of_service/prometheus_client.js +67 -0
- package/dest/shared/cross_chain_test_harness.d.ts +11 -8
- package/dest/shared/cross_chain_test_harness.d.ts.map +1 -1
- package/dest/shared/cross_chain_test_harness.js +45 -40
- package/dest/shared/gas_portal_test_harness.d.ts +9 -6
- package/dest/shared/gas_portal_test_harness.d.ts.map +1 -1
- package/dest/shared/gas_portal_test_harness.js +28 -16
- package/dest/shared/index.d.ts +3 -2
- package/dest/shared/index.d.ts.map +1 -1
- package/dest/shared/index.js +1 -0
- package/dest/shared/jest_setup.d.ts +1 -1
- package/dest/shared/jest_setup.js +41 -1
- package/dest/shared/mock_state_view.d.ts +86 -0
- package/dest/shared/mock_state_view.d.ts.map +1 -0
- package/dest/shared/mock_state_view.js +186 -0
- package/dest/shared/submit-transactions.d.ts +4 -4
- package/dest/shared/submit-transactions.d.ts.map +1 -1
- package/dest/shared/submit-transactions.js +19 -14
- package/dest/shared/timing_env.d.js +5 -0
- package/dest/shared/timing_env.js +365 -0
- package/dest/shared/uniswap_l1_l2.d.ts +3 -27
- package/dest/shared/uniswap_l1_l2.d.ts.map +1 -1
- package/dest/shared/uniswap_l1_l2.js +86 -54
- package/dest/shared/wait_for_l1_to_l2_message.d.ts +13 -0
- package/dest/shared/wait_for_l1_to_l2_message.d.ts.map +1 -0
- package/dest/shared/wait_for_l1_to_l2_message.js +10 -0
- package/dest/simulators/index.d.ts +1 -1
- package/dest/simulators/lending_simulator.d.ts +11 -4
- package/dest/simulators/lending_simulator.d.ts.map +1 -1
- package/dest/simulators/lending_simulator.js +33 -19
- package/dest/simulators/token_simulator.d.ts +1 -1
- package/dest/simulators/token_simulator.d.ts.map +1 -1
- package/dest/simulators/token_simulator.js +3 -24
- package/dest/single-node/cross-chain/cross_chain_messaging_test.d.ts +75 -0
- package/dest/single-node/cross-chain/cross_chain_messaging_test.d.ts.map +1 -0
- package/dest/single-node/cross-chain/cross_chain_messaging_test.js +209 -0
- package/dest/single-node/cross-chain/message_test_helpers.d.ts +38 -0
- package/dest/single-node/cross-chain/message_test_helpers.d.ts.map +1 -0
- package/dest/single-node/cross-chain/message_test_helpers.js +70 -0
- package/dest/single-node/fees/bridging_race.notest.d.ts +2 -0
- package/dest/single-node/fees/bridging_race.notest.d.ts.map +1 -0
- package/dest/{e2e_fees → single-node/fees}/bridging_race.notest.js +21 -10
- package/dest/single-node/fees/fees_test.d.ts +93 -0
- package/dest/single-node/fees/fees_test.d.ts.map +1 -0
- package/dest/single-node/fees/fees_test.js +274 -0
- package/dest/single-node/l1-reorgs/setup.d.ts +42 -0
- package/dest/single-node/l1-reorgs/setup.d.ts.map +1 -0
- package/dest/single-node/l1-reorgs/setup.js +57 -0
- package/dest/single-node/partial-proofs/setup.d.ts +5 -0
- package/dest/single-node/partial-proofs/setup.d.ts.map +1 -0
- package/dest/single-node/partial-proofs/setup.js +5 -0
- package/dest/single-node/proving/setup.d.ts +5 -0
- package/dest/single-node/proving/setup.d.ts.map +1 -0
- package/dest/single-node/proving/setup.js +5 -0
- package/dest/single-node/recovery/setup.d.ts +5 -0
- package/dest/single-node/recovery/setup.d.ts.map +1 -0
- package/dest/single-node/recovery/setup.js +5 -0
- package/dest/single-node/setup.d.ts +49 -0
- package/dest/single-node/setup.d.ts.map +1 -0
- package/dest/single-node/setup.js +56 -0
- package/dest/single-node/single_node_test_context.d.ts +360 -0
- package/dest/single-node/single_node_test_context.d.ts.map +1 -0
- package/dest/single-node/single_node_test_context.js +833 -0
- package/dest/spartan/setup_test_wallets.d.ts +18 -6
- package/dest/spartan/setup_test_wallets.d.ts.map +1 -1
- package/dest/spartan/setup_test_wallets.js +169 -30
- package/dest/spartan/tx_metrics.d.ts +111 -0
- package/dest/spartan/tx_metrics.d.ts.map +1 -0
- package/dest/spartan/tx_metrics.js +507 -0
- package/dest/spartan/utils/bot.d.ts +28 -0
- package/dest/spartan/utils/bot.d.ts.map +1 -0
- package/dest/spartan/utils/bot.js +142 -0
- package/dest/spartan/utils/chaos.d.ts +79 -0
- package/dest/spartan/utils/chaos.d.ts.map +1 -0
- package/dest/spartan/utils/chaos.js +142 -0
- package/dest/spartan/utils/clients.d.ts +39 -0
- package/dest/spartan/utils/clients.d.ts.map +1 -0
- package/dest/spartan/utils/clients.js +90 -0
- package/dest/spartan/utils/config.d.ts +19 -0
- package/dest/spartan/utils/config.d.ts.map +1 -0
- package/dest/spartan/utils/config.js +23 -0
- package/dest/spartan/utils/health.d.ts +63 -0
- package/dest/spartan/utils/health.d.ts.map +1 -0
- package/dest/spartan/utils/health.js +202 -0
- package/dest/spartan/utils/helm.d.ts +15 -0
- package/dest/spartan/utils/helm.d.ts.map +1 -0
- package/dest/spartan/utils/helm.js +47 -0
- package/dest/spartan/utils/index.d.ts +11 -0
- package/dest/spartan/utils/index.d.ts.map +1 -0
- package/dest/spartan/utils/index.js +22 -0
- package/dest/spartan/utils/k8s.d.ts +128 -0
- package/dest/spartan/utils/k8s.d.ts.map +1 -0
- package/dest/spartan/utils/k8s.js +381 -0
- package/dest/spartan/utils/nodes.d.ts +40 -0
- package/dest/spartan/utils/nodes.d.ts.map +1 -0
- package/dest/spartan/utils/nodes.js +461 -0
- package/dest/spartan/utils/pod_logs.d.ts +25 -0
- package/dest/spartan/utils/pod_logs.d.ts.map +1 -0
- package/dest/spartan/utils/pod_logs.js +74 -0
- package/dest/spartan/utils/scripts.d.ts +30 -0
- package/dest/spartan/utils/scripts.d.ts.map +1 -0
- package/dest/spartan/utils/scripts.js +81 -0
- package/dest/spartan/utils.d.ts +2 -218
- package/dest/spartan/utils.d.ts.map +1 -1
- package/dest/spartan/utils.js +1 -749
- package/dest/test-wallet/test_wallet.d.ts +105 -0
- package/dest/test-wallet/test_wallet.d.ts.map +1 -0
- package/dest/test-wallet/test_wallet.js +323 -0
- package/dest/test-wallet/utils.d.ts +76 -0
- package/dest/test-wallet/utils.d.ts.map +1 -0
- package/dest/test-wallet/utils.js +126 -0
- package/dest/test-wallet/wallet_worker_script.d.ts +2 -0
- package/dest/test-wallet/wallet_worker_script.d.ts.map +1 -0
- package/dest/test-wallet/wallet_worker_script.js +56 -0
- package/dest/test-wallet/worker_wallet.d.ts +53 -0
- package/dest/test-wallet/worker_wallet.d.ts.map +1 -0
- package/dest/test-wallet/worker_wallet.js +155 -0
- package/dest/test-wallet/worker_wallet_schema.d.ts +4 -0
- package/dest/test-wallet/worker_wallet_schema.d.ts.map +1 -0
- package/dest/test-wallet/worker_wallet_schema.js +22 -0
- package/package.json +57 -47
- package/src/automine/README.md +60 -0
- package/src/automine/automine_test_context.ts +153 -0
- package/src/automine/contracts/fixtures/storage_proof.json +915 -0
- package/src/automine/contracts/fixtures/storage_proof_fetcher.ts +190 -0
- package/src/automine/contracts/fixtures/storage_proof_fixture.ts +173 -0
- package/src/automine/delivery/onchain_delivery_harness.ts +177 -0
- package/src/automine/token/blacklist_token_contract_test.ts +208 -0
- package/src/automine/token/token_contract_test.ts +146 -0
- package/src/automine/token/token_test_helpers.ts +138 -0
- package/src/bench/client_flows/benchmark.ts +45 -2
- package/src/bench/client_flows/client_flows_benchmark.ts +227 -211
- package/src/bench/client_flows/config.ts +9 -1
- package/src/bench/client_flows/data_extractor.ts +7 -28
- package/src/bench/utils.ts +144 -25
- package/src/composed/ha/ha_full_setup.ts +466 -0
- package/src/{e2e_multi_validator/utils.ts → composed/web3signer/multi_validator_keystore_utils.ts} +1 -1
- package/src/fixtures/authwit_proxy.ts +54 -0
- package/src/fixtures/dumps/epoch_proof_result.json +1 -1
- package/src/fixtures/e2e_prover_test.ts +175 -214
- package/src/fixtures/elu_monitor.ts +126 -0
- package/src/fixtures/fixtures.ts +110 -5
- package/src/fixtures/get_acvm_config.ts +1 -1
- package/src/fixtures/get_bb_config.ts +7 -6
- package/src/fixtures/ha_setup.ts +192 -0
- package/src/fixtures/index.ts +2 -0
- package/src/fixtures/l1_to_l2_messaging.ts +4 -2
- package/src/fixtures/schnorr_hardcoded_account_contract.ts +49 -0
- package/src/fixtures/setup.ts +987 -0
- package/src/fixtures/setup_p2p_test.ts +72 -58
- package/src/fixtures/timing.ts +97 -0
- package/src/fixtures/token_utils.ts +47 -11
- package/src/fixtures/utils.ts +26 -947
- package/src/fixtures/wait_helpers.ts +333 -0
- package/src/fixtures/web3signer.ts +1 -1
- package/src/fixtures/with_telemetry_utils.ts +2 -2
- package/src/forward-compatibility/wallet_rpc_client.ts +14 -0
- package/src/forward-compatibility/wallet_service.ts +106 -0
- package/src/guides/up_quick_start.sh +8 -5
- package/src/infra/README.md +12 -0
- package/src/install_legacy_contracts.cjs +75 -0
- package/src/legacy-jest-resolver.cjs +112 -0
- package/src/multi-node/README.md +95 -0
- package/src/multi-node/block-production/setup.ts +272 -0
- package/src/multi-node/governance/setup.ts +172 -0
- package/src/multi-node/multi_node_test_context.ts +447 -0
- package/src/multi-node/slashing/inactivity_setup.ts +139 -0
- package/src/multi-node/slashing/setup.ts +433 -0
- package/src/p2p/README.md +78 -0
- package/src/p2p/p2p_network.ts +542 -0
- package/src/p2p/reqresp/utils.ts +263 -0
- package/src/p2p/shared.ts +329 -0
- package/src/quality_of_service/{alert_checker.ts → grafana_client.ts} +1 -1
- package/src/quality_of_service/prometheus_client.ts +113 -0
- package/src/shared/cross_chain_test_harness.ts +51 -43
- package/src/shared/gas_portal_test_harness.ts +36 -18
- package/src/shared/index.ts +2 -1
- package/src/shared/jest_setup.ts +51 -1
- package/src/shared/mock_state_view.ts +188 -0
- package/src/shared/submit-transactions.ts +22 -19
- package/src/shared/timing_env.d.mts +39 -0
- package/src/shared/timing_env.mjs +363 -0
- package/src/shared/uniswap_l1_l2.ts +136 -115
- package/src/shared/wait_for_l1_to_l2_message.ts +23 -0
- package/src/simulators/lending_simulator.ts +40 -20
- package/src/simulators/token_simulator.ts +6 -30
- package/src/single-node/README.md +60 -0
- package/src/single-node/cross-chain/cross_chain_messaging_test.ts +302 -0
- package/src/single-node/cross-chain/message_test_helpers.ts +125 -0
- package/src/{e2e_fees → single-node/fees}/bridging_race.notest.ts +23 -15
- package/src/single-node/fees/fees_test.ts +368 -0
- package/src/single-node/l1-reorgs/setup.ts +93 -0
- package/src/single-node/partial-proofs/setup.ts +8 -0
- package/src/single-node/proving/setup.ts +15 -0
- package/src/single-node/recovery/setup.ts +8 -0
- package/src/single-node/setup.ts +63 -0
- package/src/single-node/single_node_test_context.ts +1041 -0
- package/src/spartan/DEVELOP.md +7 -0
- package/src/spartan/setup_test_wallets.ts +243 -32
- package/src/spartan/tx_metrics.ts +460 -0
- package/src/spartan/utils/bot.ts +188 -0
- package/src/spartan/utils/chaos.ts +253 -0
- package/src/spartan/utils/clients.ts +100 -0
- package/src/spartan/utils/config.ts +29 -0
- package/src/spartan/utils/health.ts +255 -0
- package/src/spartan/utils/helm.ts +84 -0
- package/src/spartan/utils/index.ts +71 -0
- package/src/spartan/utils/k8s.ts +535 -0
- package/src/spartan/utils/nodes.ts +543 -0
- package/src/spartan/utils/pod_logs.ts +99 -0
- package/src/spartan/utils/scripts.ts +99 -0
- package/src/spartan/utils.ts +1 -942
- package/src/test-wallet/test_wallet.ts +429 -0
- package/src/test-wallet/utils.ts +205 -0
- package/src/test-wallet/wallet_worker_script.ts +66 -0
- package/src/test-wallet/worker_wallet.ts +214 -0
- package/src/test-wallet/worker_wallet_schema.ts +14 -0
- package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.d.ts +0 -54
- package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.d.ts.map +0 -1
- package/dest/e2e_blacklist_token_contract/blacklist_token_contract_test.js +0 -185
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts +0 -41
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.d.ts.map +0 -1
- package/dest/e2e_cross_chain_messaging/cross_chain_messaging_test.js +0 -107
- package/dest/e2e_deploy_contract/deploy_test.d.ts +0 -36
- package/dest/e2e_deploy_contract/deploy_test.d.ts.map +0 -1
- package/dest/e2e_deploy_contract/deploy_test.js +0 -45
- package/dest/e2e_epochs/epochs_test.d.ts +0 -92
- package/dest/e2e_epochs/epochs_test.d.ts.map +0 -1
- package/dest/e2e_epochs/epochs_test.js +0 -336
- package/dest/e2e_fees/bridging_race.notest.d.ts +0 -2
- package/dest/e2e_fees/bridging_race.notest.d.ts.map +0 -1
- package/dest/e2e_fees/fees_test.d.ts +0 -84
- package/dest/e2e_fees/fees_test.d.ts.map +0 -1
- package/dest/e2e_fees/fees_test.js +0 -260
- package/dest/e2e_l1_publisher/write_json.d.ts +0 -10
- package/dest/e2e_l1_publisher/write_json.d.ts.map +0 -1
- package/dest/e2e_l1_publisher/write_json.js +0 -57
- package/dest/e2e_multi_validator/utils.d.ts +0 -12
- package/dest/e2e_multi_validator/utils.d.ts.map +0 -1
- package/dest/e2e_nested_contract/nested_contract_test.d.ts +0 -29
- package/dest/e2e_nested_contract/nested_contract_test.d.ts.map +0 -1
- package/dest/e2e_nested_contract/nested_contract_test.js +0 -63
- package/dest/e2e_p2p/inactivity_slash_test.d.ts +0 -31
- package/dest/e2e_p2p/inactivity_slash_test.d.ts.map +0 -1
- package/dest/e2e_p2p/inactivity_slash_test.js +0 -135
- package/dest/e2e_p2p/p2p_network.d.ts +0 -108
- package/dest/e2e_p2p/p2p_network.d.ts.map +0 -1
- package/dest/e2e_p2p/p2p_network.js +0 -318
- package/dest/e2e_p2p/shared.d.ts +0 -46
- package/dest/e2e_p2p/shared.d.ts.map +0 -1
- package/dest/e2e_p2p/shared.js +0 -183
- package/dest/e2e_token_contract/token_contract_test.d.ts +0 -35
- package/dest/e2e_token_contract/token_contract_test.d.ts.map +0 -1
- package/dest/e2e_token_contract/token_contract_test.js +0 -126
- package/dest/fixtures/setup_l1_contracts.d.ts +0 -6
- package/dest/fixtures/setup_l1_contracts.d.ts.map +0 -1
- package/dest/fixtures/setup_l1_contracts.js +0 -17
- package/dest/fixtures/snapshot_manager.d.ts +0 -95
- package/dest/fixtures/snapshot_manager.d.ts.map +0 -1
- package/dest/fixtures/snapshot_manager.js +0 -505
- package/dest/quality_of_service/alert_checker.d.ts +0 -41
- package/dest/quality_of_service/alert_checker.d.ts.map +0 -1
- package/src/e2e_blacklist_token_contract/blacklist_token_contract_test.ts +0 -256
- package/src/e2e_cross_chain_messaging/cross_chain_messaging_test.ts +0 -178
- package/src/e2e_deploy_contract/deploy_test.ts +0 -78
- package/src/e2e_epochs/epochs_test.ts +0 -437
- package/src/e2e_fees/fees_test.ts +0 -378
- package/src/e2e_l1_publisher/write_json.ts +0 -76
- package/src/e2e_nested_contract/nested_contract_test.ts +0 -95
- package/src/e2e_p2p/inactivity_slash_test.ts +0 -178
- package/src/e2e_p2p/p2p_network.ts +0 -472
- package/src/e2e_p2p/shared.ts +0 -282
- package/src/e2e_token_contract/token_contract_test.ts +0 -167
- package/src/fixtures/setup_l1_contracts.ts +0 -26
- package/src/fixtures/snapshot_manager.ts +0 -665
|
@@ -1,114 +1,116 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { generateSchnorrAccounts } from '@aztec/accounts/testing';
|
|
2
|
+
import { createAztecNodeService } from '@aztec/aztec-node';
|
|
2
3
|
import { EthAddress } from '@aztec/aztec.js/addresses';
|
|
3
4
|
import { createLogger } from '@aztec/aztec.js/log';
|
|
4
|
-
import {
|
|
5
|
-
import { createBlobSinkClient } from '@aztec/blob-sink/client';
|
|
5
|
+
import { BackendType, Barretenberg } from '@aztec/bb.js';
|
|
6
6
|
import { Buffer32 } from '@aztec/foundation/buffer';
|
|
7
7
|
import { SecretValue } from '@aztec/foundation/config';
|
|
8
8
|
import { FeeAssetHandlerAbi } from '@aztec/l1-artifacts';
|
|
9
9
|
import { TokenContract } from '@aztec/noir-contracts.js/Token';
|
|
10
|
-
import { createProverNode } from '@aztec/prover-node';
|
|
11
10
|
import { getGenesisValues } from '@aztec/world-state/testing';
|
|
12
11
|
import { getContract } from 'viem';
|
|
13
12
|
import { privateKeyToAddress } from 'viem/accounts';
|
|
14
13
|
import { TokenSimulator } from '../simulators/token_simulator.js';
|
|
14
|
+
import { SingleNodeTestContext } from '../single-node/single_node_test_context.js';
|
|
15
15
|
import { getACVMConfig } from './get_acvm_config.js';
|
|
16
16
|
import { getBBConfig } from './get_bb_config.js';
|
|
17
|
-
import {
|
|
18
|
-
import { getPrivateKeyFromIndex, getSponsoredFPCAddress, setupPXEAndGetWallet } from './utils.js';
|
|
19
|
-
const { E2E_DATA_PATH: dataPath } = process.env;
|
|
17
|
+
import { getPrivateKeyFromIndex, getSponsoredFPCAddress, setup, setupPXEAndGetWallet } from './setup.js';
|
|
20
18
|
/**
|
|
21
19
|
* Largely taken from the e2e_token_contract test file. We deploy 2 accounts and a token contract.
|
|
22
20
|
* However, we then setup a second PXE with a full prover instance.
|
|
23
21
|
* We configure this instance with all of the accounts and contracts.
|
|
24
22
|
* We then prove and verify transactions created via this full prover PXE.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
*
|
|
24
|
+
* The real-prover sub-base of the single-node topology: extends {@link SingleNodeTestContext} so it
|
|
25
|
+
* reuses the base node tracking / chain monitor / teardown machinery, but builds its environment with
|
|
26
|
+
* the bespoke prover opts below (real BB, `realVerifier` L1, the snapshot/account + TokenSimulator
|
|
27
|
+
* harness, and a hand-built prover node) rather than the base's default fake-prover config.
|
|
28
|
+
*/ export class FullProverTest extends SingleNodeTestContext {
|
|
28
29
|
static TOKEN_NAME = 'USDC';
|
|
29
30
|
static TOKEN_SYMBOL = 'USD';
|
|
30
31
|
static TOKEN_DECIMALS = 18n;
|
|
31
|
-
snapshotManager;
|
|
32
|
-
logger;
|
|
33
32
|
wallet;
|
|
34
33
|
provenWallet;
|
|
35
|
-
accounts;
|
|
36
|
-
|
|
34
|
+
accounts = [];
|
|
35
|
+
fundedAccounts;
|
|
37
36
|
fakeProofsAsset;
|
|
37
|
+
fakeProofsAssetInstance;
|
|
38
38
|
tokenSim;
|
|
39
39
|
aztecNode;
|
|
40
40
|
aztecNodeAdmin;
|
|
41
41
|
cheatCodes;
|
|
42
|
-
|
|
43
|
-
provenComponents;
|
|
42
|
+
provenComponents = [];
|
|
44
43
|
bbConfigCleanup;
|
|
45
44
|
acvmConfigCleanup;
|
|
46
|
-
circuitProofVerifier
|
|
45
|
+
/** Returns the proof verifier from the prover node (for test assertions). */ get circuitProofVerifier() {
|
|
46
|
+
return this.proverAztecNode?.getProofVerifier();
|
|
47
|
+
}
|
|
47
48
|
provenAsset;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
simulatedProverNode;
|
|
49
|
+
proverAztecNode;
|
|
50
|
+
simulatedProverAztecNode;
|
|
51
51
|
l1Contracts;
|
|
52
52
|
proverAddress;
|
|
53
|
+
testName;
|
|
54
|
+
minNumberOfTxsPerBlock;
|
|
55
|
+
coinbase;
|
|
56
|
+
realProofs;
|
|
53
57
|
constructor(testName, minNumberOfTxsPerBlock, coinbase, realProofs = true){
|
|
58
|
+
super();
|
|
59
|
+
this.testName = testName;
|
|
60
|
+
this.logger = createLogger(`e2e:full_prover_test:${testName}`);
|
|
54
61
|
this.minNumberOfTxsPerBlock = minNumberOfTxsPerBlock;
|
|
62
|
+
this.coinbase = coinbase;
|
|
55
63
|
this.realProofs = realProofs;
|
|
56
|
-
this.accounts = [];
|
|
57
|
-
this.provenComponents = [];
|
|
58
|
-
this.snapshot = (name, apply, restore = ()=>Promise.resolve())=>this.snapshotManager.snapshot(name, apply, restore);
|
|
59
|
-
this.logger = createLogger(`e2e:full_prover_test:${testName}`);
|
|
60
|
-
this.snapshotManager = createSnapshotManager(`full_prover_integration/${testName}`, dataPath, {
|
|
61
|
-
startProverNode: true,
|
|
62
|
-
fundRewardDistributor: true,
|
|
63
|
-
coinbase
|
|
64
|
-
}, {
|
|
65
|
-
realVerifier: realProofs
|
|
66
|
-
});
|
|
67
64
|
}
|
|
68
65
|
/**
|
|
69
|
-
*
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
this.wallet
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
await this.
|
|
80
|
-
|
|
81
|
-
// Move this account thing to addAccounts above?
|
|
82
|
-
this.logger.verbose(`Public deploy accounts...`);
|
|
83
|
-
await publicDeployAccounts(this.wallet, this.accounts.slice(0, 2));
|
|
84
|
-
this.logger.verbose(`Deploying TokenContract...`);
|
|
85
|
-
const asset = await TokenContract.deploy(this.wallet, this.accounts[0], FullProverTest.TOKEN_NAME, FullProverTest.TOKEN_SYMBOL, FullProverTest.TOKEN_DECIMALS).send({
|
|
86
|
-
from: this.accounts[0]
|
|
87
|
-
}).deployed();
|
|
88
|
-
this.logger.verbose(`Token deployed to ${asset.address}`);
|
|
89
|
-
return {
|
|
90
|
-
tokenContractAddress: asset.address
|
|
91
|
-
};
|
|
92
|
-
}, async ({ tokenContractAddress })=>{
|
|
93
|
-
// Restore the token contract state.
|
|
94
|
-
this.fakeProofsAsset = await TokenContract.at(tokenContractAddress, this.wallet);
|
|
95
|
-
this.logger.verbose(`Token contract address: ${this.fakeProofsAsset.address}`);
|
|
96
|
-
this.tokenSim = new TokenSimulator(this.fakeProofsAsset, this.wallet, this.accounts[0], this.logger, this.accounts);
|
|
97
|
-
expect(await this.fakeProofsAsset.methods.get_admin().simulate({
|
|
98
|
-
from: this.accounts[0]
|
|
99
|
-
})).toBe(this.accounts[0].toBigInt());
|
|
66
|
+
* Applies base setup: deploys 2 accounts and token contract.
|
|
67
|
+
*/ async applyBaseSetup() {
|
|
68
|
+
this.logger.info('Applying base setup: registering funded accounts');
|
|
69
|
+
this.fundedAccounts = this.context.additionallyFundedAccounts;
|
|
70
|
+
this.accounts = this.fundedAccounts.map((a)=>a.address);
|
|
71
|
+
this.wallet = this.context.wallet;
|
|
72
|
+
for (const { secret, salt, signingKey } of this.fundedAccounts){
|
|
73
|
+
await this.wallet.createSchnorrInitializerlessAccount(secret, salt, signingKey);
|
|
74
|
+
}
|
|
75
|
+
this.logger.info('Applying base setup: deploying token contract');
|
|
76
|
+
const { contract: asset, instance } = await TokenContract.deploy(this.wallet, this.accounts[0], FullProverTest.TOKEN_NAME, FullProverTest.TOKEN_SYMBOL, FullProverTest.TOKEN_DECIMALS).send({
|
|
77
|
+
from: this.accounts[0]
|
|
100
78
|
});
|
|
79
|
+
this.logger.verbose(`Token deployed to ${asset.address}`);
|
|
80
|
+
this.fakeProofsAsset = asset;
|
|
81
|
+
this.fakeProofsAssetInstance = instance;
|
|
82
|
+
this.logger.verbose(`Token contract address: ${this.fakeProofsAsset.address}`);
|
|
83
|
+
this.tokenSim = new TokenSimulator(this.fakeProofsAsset, this.wallet, this.accounts[0], this.logger, this.accounts);
|
|
84
|
+
expect((await this.fakeProofsAsset.methods.get_admin().simulate({
|
|
85
|
+
from: this.accounts[0]
|
|
86
|
+
})).result).toBe(this.accounts[0].toBigInt());
|
|
101
87
|
}
|
|
102
|
-
async setup() {
|
|
103
|
-
this.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
88
|
+
async setup(opts = {}) {
|
|
89
|
+
this.logger.info('Setting up subsystems from fresh');
|
|
90
|
+
const context = await setup(0, {
|
|
91
|
+
...opts,
|
|
92
|
+
startProverNode: true,
|
|
93
|
+
coinbase: this.coinbase,
|
|
94
|
+
fundSponsoredFPC: true,
|
|
95
|
+
additionallyFundedAccounts: await generateSchnorrAccounts(2),
|
|
96
|
+
l1ContractsArgs: {
|
|
97
|
+
realVerifier: this.realProofs
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
// Reuse the base context machinery (rollup, epoch cache, chain monitor, node tracking, teardown)
|
|
101
|
+
// over the environment built above. Restore the FullProverTest-named logger afterwards, since
|
|
102
|
+
// hydrateFromContext repoints `this.logger` at the context logger.
|
|
103
|
+
await this.hydrateFromContext(context);
|
|
104
|
+
this.logger = createLogger(`e2e:full_prover_test:${this.testName}`);
|
|
105
|
+
await this.applyBaseSetup();
|
|
106
|
+
await this.applyMint();
|
|
107
|
+
this.logger.info(`Enabling proving`, {
|
|
108
|
+
realProofs: this.realProofs
|
|
111
109
|
});
|
|
110
|
+
this.simulatedProverAztecNode = this.context.proverNode;
|
|
111
|
+
({ aztecNode: this.aztecNode, deployL1ContractsValues: this.l1Contracts, cheatCodes: this.cheatCodes } = this.context);
|
|
112
|
+
this.aztecNodeAdmin = this.context.aztecNodeService;
|
|
113
|
+
const config = this.context.aztecNodeConfig;
|
|
112
114
|
// Configure a full prover PXE
|
|
113
115
|
let acvmConfig;
|
|
114
116
|
let bbConfig;
|
|
@@ -122,11 +124,9 @@ const { E2E_DATA_PATH: dataPath } = process.env;
|
|
|
122
124
|
}
|
|
123
125
|
this.acvmConfigCleanup = acvmConfig.cleanup;
|
|
124
126
|
this.bbConfigCleanup = bbConfig.cleanup;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
const verifier = await BBCircuitVerifier.new(bbConfig);
|
|
129
|
-
this.circuitProofVerifier = new QueuedIVCVerifier(bbConfig, verifier);
|
|
127
|
+
await Barretenberg.initSingleton({
|
|
128
|
+
backend: BackendType.NativeUnixSocket
|
|
129
|
+
});
|
|
130
130
|
this.logger.debug(`Configuring the node for real proofs...`);
|
|
131
131
|
await this.aztecNodeAdmin.setConfig({
|
|
132
132
|
realProofs: true,
|
|
@@ -134,7 +134,6 @@ const { E2E_DATA_PATH: dataPath } = process.env;
|
|
|
134
134
|
});
|
|
135
135
|
} else {
|
|
136
136
|
this.logger.debug(`Configuring the node min txs per block ${this.minNumberOfTxsPerBlock}...`);
|
|
137
|
-
this.circuitProofVerifier = new TestCircuitVerifier();
|
|
138
137
|
await this.aztecNodeAdmin.setConfig({
|
|
139
138
|
minTxsPerBlock: this.minNumberOfTxsPerBlock
|
|
140
139
|
});
|
|
@@ -144,18 +143,18 @@ const { E2E_DATA_PATH: dataPath } = process.env;
|
|
|
144
143
|
this.logger.verbose(`Marking current block as proven`);
|
|
145
144
|
await this.context.cheatCodes.rollup.markAsProven();
|
|
146
145
|
this.logger.verbose(`Main setup completed, initializing full prover PXE, Node, and Prover Node`);
|
|
147
|
-
const { wallet: provenWallet, teardown: provenTeardown } = await setupPXEAndGetWallet(this.aztecNode, {
|
|
148
|
-
proverEnabled: this.realProofs
|
|
149
|
-
|
|
150
|
-
bbWorkingDirectory: bbConfig?.bbWorkingDirectory
|
|
151
|
-
}, undefined, true);
|
|
146
|
+
const { wallet: provenWallet, teardown: provenTeardown } = await setupPXEAndGetWallet(this.aztecNode, this.context.aztecNode, {
|
|
147
|
+
proverEnabled: this.realProofs
|
|
148
|
+
}, undefined, 'pxe-proven');
|
|
152
149
|
this.logger.debug(`Contract address ${this.fakeProofsAsset.address}`);
|
|
153
|
-
await provenWallet.registerContract(this.
|
|
150
|
+
await provenWallet.registerContract(this.fakeProofsAssetInstance, TokenContract.artifact);
|
|
154
151
|
for(let i = 0; i < 2; i++){
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
// Mirror the initializerless funded accounts (created via createFundedAccounts) in both wallets so
|
|
153
|
+
// their addresses match the genesis-funded ones.
|
|
154
|
+
await provenWallet.createSchnorrInitializerlessAccount(this.fundedAccounts[i].secret, this.fundedAccounts[i].salt);
|
|
155
|
+
await this.wallet.createSchnorrInitializerlessAccount(this.fundedAccounts[i].secret, this.fundedAccounts[i].salt);
|
|
157
156
|
}
|
|
158
|
-
const asset =
|
|
157
|
+
const asset = TokenContract.at(this.fakeProofsAsset.address, provenWallet);
|
|
159
158
|
this.provenComponents.push({
|
|
160
159
|
wallet: provenWallet,
|
|
161
160
|
teardown: provenTeardown
|
|
@@ -163,35 +162,30 @@ const { E2E_DATA_PATH: dataPath } = process.env;
|
|
|
163
162
|
this.provenAsset = asset;
|
|
164
163
|
this.provenWallet = provenWallet;
|
|
165
164
|
this.logger.info(`Full prover PXE started`);
|
|
166
|
-
// Shutdown the current, simulated prover node
|
|
165
|
+
// Shutdown the current, simulated prover node (by stopping its hosting aztec node)
|
|
167
166
|
this.logger.verbose('Shutting down simulated prover node');
|
|
168
|
-
await this.
|
|
169
|
-
// Creating temp store and archiver for fully proven prover node
|
|
170
|
-
this.logger.verbose('Starting archiver for new prover node');
|
|
171
|
-
const archiver = await createArchiver({
|
|
172
|
-
...this.context.aztecNodeConfig,
|
|
173
|
-
dataDirectory: undefined
|
|
174
|
-
}, {
|
|
175
|
-
blobSinkClient
|
|
176
|
-
}, {
|
|
177
|
-
blockUntilSync: true
|
|
178
|
-
});
|
|
167
|
+
await this.simulatedProverAztecNode.stop();
|
|
179
168
|
// The simulated prover node (now shutdown) used private key index 2
|
|
180
169
|
const proverNodePrivateKey = getPrivateKeyFromIndex(2);
|
|
170
|
+
const proverNodePrivateKeyHex = `0x${proverNodePrivateKey.toString('hex')}`;
|
|
181
171
|
const proverNodeSenderAddress = privateKeyToAddress(new Buffer32(proverNodePrivateKey).toString());
|
|
182
172
|
this.proverAddress = EthAddress.fromString(proverNodeSenderAddress);
|
|
183
173
|
this.logger.verbose(`Funding prover node at ${proverNodeSenderAddress}`);
|
|
184
174
|
await this.mintFeeJuice(proverNodeSenderAddress);
|
|
185
175
|
this.logger.verbose('Starting prover node');
|
|
186
|
-
const
|
|
187
|
-
|
|
188
|
-
|
|
176
|
+
const sponsoredFPCAddress = await getSponsoredFPCAddress();
|
|
177
|
+
const { genesis } = await getGenesisValues(this.context.additionallyFundedAccounts.map((a)=>a.address).concat(sponsoredFPCAddress), undefined, undefined, this.context.genesis.genesisTimestamp);
|
|
178
|
+
const proverNodeConfig = {
|
|
179
|
+
...config,
|
|
180
|
+
enableProverNode: true,
|
|
181
|
+
disableValidator: true,
|
|
189
182
|
dataDirectory: undefined,
|
|
183
|
+
txCollectionNodeRpcUrls: [],
|
|
190
184
|
proverId: this.proverAddress,
|
|
191
185
|
realProofs: this.realProofs,
|
|
192
186
|
proverAgentCount: 2,
|
|
193
|
-
|
|
194
|
-
new SecretValue(
|
|
187
|
+
proverPublisherPrivateKeys: [
|
|
188
|
+
new SecretValue(proverNodePrivateKeyHex)
|
|
195
189
|
],
|
|
196
190
|
proverNodeMaxPendingJobs: 100,
|
|
197
191
|
proverNodeMaxParallelBlocksPerEpoch: 32,
|
|
@@ -199,22 +193,32 @@ const { E2E_DATA_PATH: dataPath } = process.env;
|
|
|
199
193
|
txGatheringIntervalMs: 1000,
|
|
200
194
|
txGatheringBatchSize: 10,
|
|
201
195
|
txGatheringMaxParallelRequestsPerNode: 100,
|
|
202
|
-
|
|
196
|
+
// The test warps the L1 clock forward a full epoch via cheatcodes; the prover-node
|
|
197
|
+
// tracks L1 time, so an in-flight tx-gather would see its deadline jump into the
|
|
198
|
+
// past. Use a generous window so the deadline survives the warp.
|
|
199
|
+
txGatheringTimeoutMs: 10 * 60 * 1000,
|
|
203
200
|
proverNodeFailedEpochStore: undefined,
|
|
204
|
-
proverNodeEpochProvingDelayMs: undefined
|
|
201
|
+
proverNodeEpochProvingDelayMs: undefined,
|
|
202
|
+
validatorPrivateKeys: new SecretValue([])
|
|
205
203
|
};
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
204
|
+
this.proverAztecNode = await createAztecNodeService(proverNodeConfig, {
|
|
205
|
+
dateProvider: this.context.dateProvider,
|
|
206
|
+
p2pClientDeps: {
|
|
207
|
+
rpcTxProviders: [
|
|
208
|
+
this.aztecNode
|
|
209
|
+
]
|
|
210
|
+
}
|
|
212
211
|
}, {
|
|
213
|
-
|
|
212
|
+
genesis
|
|
213
|
+
});
|
|
214
|
+
// Track the real prover node so the base teardown stops it (the simulated one created by `setup`
|
|
215
|
+
// was already stopped above).
|
|
216
|
+
this.proverNodes = [
|
|
217
|
+
this.proverAztecNode
|
|
218
|
+
];
|
|
219
|
+
this.logger.warn(`Proofs are now enabled`, {
|
|
220
|
+
realProofs: this.realProofs
|
|
214
221
|
});
|
|
215
|
-
await this.proverNode.start();
|
|
216
|
-
this.logger.warn(`Proofs are now enabled`);
|
|
217
|
-
return this;
|
|
218
222
|
}
|
|
219
223
|
async mintFeeJuice(recipient) {
|
|
220
224
|
const handlerAddress = this.context.deployL1ContractsValues.l1ContractAddresses.feeAssetHandlerAddress;
|
|
@@ -232,55 +236,51 @@ const { E2E_DATA_PATH: dataPath } = process.env;
|
|
|
232
236
|
hash
|
|
233
237
|
});
|
|
234
238
|
}
|
|
235
|
-
snapshot;
|
|
236
239
|
async teardown() {
|
|
237
|
-
await this.snapshotManager.teardown();
|
|
238
240
|
// Cleanup related to the full prover PXEs
|
|
239
241
|
for(let i = 0; i < this.provenComponents.length; i++){
|
|
240
242
|
await this.provenComponents[i].teardown();
|
|
241
243
|
}
|
|
242
|
-
//
|
|
243
|
-
await this.
|
|
244
|
+
// Stop the prover node before destroying the BB singleton it proves with.
|
|
245
|
+
await this.proverAztecNode.stop();
|
|
246
|
+
await Barretenberg.destroySingleton();
|
|
244
247
|
await this.bbConfigCleanup?.();
|
|
245
248
|
await this.acvmConfigCleanup?.();
|
|
249
|
+
// Stops the chain monitor, the tracked nodes (main node + the already-stopped prover node, a
|
|
250
|
+
// safe no-op), and the context.
|
|
251
|
+
await super.teardown();
|
|
246
252
|
}
|
|
247
|
-
async
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
this.logger.verbose(`Private balance of wallet 0: ${privateBalance}`);
|
|
277
|
-
expect(privateBalance).toEqual(tokenSim.balanceOfPrivate(address));
|
|
278
|
-
const totalSupply = await asset.methods.total_supply().simulate({
|
|
279
|
-
from: address
|
|
280
|
-
});
|
|
281
|
-
this.logger.verbose(`Total supply: ${totalSupply}`);
|
|
282
|
-
expect(totalSupply).toEqual(tokenSim.totalSupply);
|
|
283
|
-
return Promise.resolve();
|
|
253
|
+
async applyMint() {
|
|
254
|
+
this.logger.info('Applying mint setup');
|
|
255
|
+
const { fakeProofsAsset: asset, accounts } = this;
|
|
256
|
+
const privateAmount = 10000n;
|
|
257
|
+
const publicAmount = 10000n;
|
|
258
|
+
this.logger.verbose(`Minting ${privateAmount + publicAmount} publicly...`);
|
|
259
|
+
await asset.methods.mint_to_public(accounts[0], privateAmount + publicAmount).send({
|
|
260
|
+
from: accounts[0]
|
|
261
|
+
});
|
|
262
|
+
this.logger.verbose(`Transferring ${privateAmount} to private...`);
|
|
263
|
+
await asset.methods.transfer_to_private(accounts[0], privateAmount).send({
|
|
264
|
+
from: accounts[0]
|
|
265
|
+
});
|
|
266
|
+
this.logger.info(`Minting complete`);
|
|
267
|
+
const { fakeProofsAsset, accounts: [address], tokenSim } = this;
|
|
268
|
+
tokenSim.mintPublic(address, publicAmount);
|
|
269
|
+
const { result: publicBalance } = await fakeProofsAsset.methods.balance_of_public(address).simulate({
|
|
270
|
+
from: address
|
|
271
|
+
});
|
|
272
|
+
this.logger.verbose(`Public balance of wallet 0: ${publicBalance}`);
|
|
273
|
+
expect(publicBalance).toEqual(this.tokenSim.balanceOfPublic(address));
|
|
274
|
+
tokenSim.mintPrivate(address, publicAmount);
|
|
275
|
+
const { result: privateBalance } = await fakeProofsAsset.methods.balance_of_private(address).simulate({
|
|
276
|
+
from: address
|
|
277
|
+
});
|
|
278
|
+
this.logger.verbose(`Private balance of wallet 0: ${privateBalance}`);
|
|
279
|
+
expect(privateBalance).toEqual(tokenSim.balanceOfPrivate(address));
|
|
280
|
+
const { result: totalSupply } = await fakeProofsAsset.methods.total_supply().simulate({
|
|
281
|
+
from: address
|
|
284
282
|
});
|
|
283
|
+
this.logger.verbose(`Total supply: ${totalSupply}`);
|
|
284
|
+
expect(totalSupply).toEqual(tokenSim.totalSupply);
|
|
285
285
|
}
|
|
286
286
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Samples event-loop utilization, delay histogram, and heap usage per test, writing columnar text to a file. */
|
|
2
|
+
export declare class EluMonitor {
|
|
3
|
+
private filePath;
|
|
4
|
+
private intervalMs;
|
|
5
|
+
private timer;
|
|
6
|
+
private lastELU;
|
|
7
|
+
private histogram;
|
|
8
|
+
private testName;
|
|
9
|
+
private testStart;
|
|
10
|
+
private eluSamples;
|
|
11
|
+
constructor(filePath: string, intervalMs?: number);
|
|
12
|
+
/** Begin sampling for a test. Writes a header line and starts the periodic sampler. */
|
|
13
|
+
startTest(testName: string): void;
|
|
14
|
+
/** Stop sampling and write a summary line. */
|
|
15
|
+
stopTest(): void;
|
|
16
|
+
/** Alias for stopTest — call on process exit to flush any remaining data. */
|
|
17
|
+
stop(): void;
|
|
18
|
+
private sample;
|
|
19
|
+
private writeSummary;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWx1X21vbml0b3IuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9maXh0dXJlcy9lbHVfbW9uaXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLQSxpSEFBaUg7QUFDakgscUJBQWEsVUFBVTtJQUNyQixPQUFPLENBQUMsUUFBUSxDQUFTO0lBQ3pCLE9BQU8sQ0FBQyxVQUFVLENBQVM7SUFDM0IsT0FBTyxDQUFDLEtBQUssQ0FBNkM7SUFDMUQsT0FBTyxDQUFDLE9BQU8sQ0FBbUM7SUFDbEQsT0FBTyxDQUFDLFNBQVMsQ0FBb0I7SUFDckMsT0FBTyxDQUFDLFFBQVEsQ0FBcUI7SUFDckMsT0FBTyxDQUFDLFNBQVMsQ0FBcUI7SUFDdEMsT0FBTyxDQUFDLFVBQVUsQ0FBZ0I7SUFFbEMsWUFBWSxRQUFRLEVBQUUsTUFBTSxFQUFFLFVBQVUsQ0FBQyxFQUFFLE1BQU0sRUFJaEQ7SUFFRCx1RkFBdUY7SUFDdkYsU0FBUyxDQUFDLFFBQVEsRUFBRSxNQUFNLEdBQUcsSUFBSSxDQW1CaEM7SUFFRCw4Q0FBOEM7SUFDOUMsUUFBUSxJQUFJLElBQUksQ0FtQmY7SUFFRCwrRUFBNkU7SUFDN0UsSUFBSSxJQUFJLElBQUksQ0FFWDtJQUVELE9BQU8sQ0FBQyxNQUFNO0lBOEJkLE9BQU8sQ0FBQyxZQUFZO0NBbUJyQiJ9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elu_monitor.d.ts","sourceRoot":"","sources":["../../src/fixtures/elu_monitor.ts"],"names":[],"mappings":"AAKA,iHAAiH;AACjH,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,KAAK,CAA6C;IAC1D,OAAO,CAAC,OAAO,CAAmC;IAClD,OAAO,CAAC,SAAS,CAAoB;IACrC,OAAO,CAAC,QAAQ,CAAqB;IACrC,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,UAAU,CAAgB;IAElC,YAAY,QAAQ,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,EAIhD;IAED,uFAAuF;IACvF,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAmBhC;IAED,8CAA8C;IAC9C,QAAQ,IAAI,IAAI,CAmBf;IAED,+EAA6E;IAC7E,IAAI,IAAI,IAAI,CAEX;IAED,OAAO,CAAC,MAAM;IA8Bd,OAAO,CAAC,YAAY;CAmBrB"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { appendFileSync } from 'node:fs';
|
|
2
|
+
import { monitorEventLoopDelay, performance } from 'node:perf_hooks';
|
|
3
|
+
const NANOS_PER_MS = 1_000_000;
|
|
4
|
+
/** Samples event-loop utilization, delay histogram, and heap usage per test, writing columnar text to a file. */ export class EluMonitor {
|
|
5
|
+
filePath;
|
|
6
|
+
intervalMs;
|
|
7
|
+
timer;
|
|
8
|
+
lastELU;
|
|
9
|
+
histogram;
|
|
10
|
+
testName;
|
|
11
|
+
testStart;
|
|
12
|
+
eluSamples = [];
|
|
13
|
+
constructor(filePath, intervalMs){
|
|
14
|
+
this.filePath = filePath;
|
|
15
|
+
this.intervalMs = intervalMs ?? 2000;
|
|
16
|
+
this.histogram = monitorEventLoopDelay({
|
|
17
|
+
resolution: 20
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/** Begin sampling for a test. Writes a header line and starts the periodic sampler. */ startTest(testName) {
|
|
21
|
+
this.stopTest();
|
|
22
|
+
this.testName = testName;
|
|
23
|
+
this.testStart = performance.now();
|
|
24
|
+
this.eluSamples = [];
|
|
25
|
+
appendFileSync(this.filePath, `\n=== Test: ${testName} ===\n`);
|
|
26
|
+
appendFileSync(this.filePath, padColumns('TIME', 'ELU', 'EL_DLY_P50', 'EL_DLY_P99', 'EL_DLY_MAX', 'HEAP_MB') + '\n');
|
|
27
|
+
this.lastELU = performance.eventLoopUtilization();
|
|
28
|
+
this.histogram.enable();
|
|
29
|
+
this.timer = setInterval(()=>this.sample(), this.intervalMs);
|
|
30
|
+
// Allow the process to exit even if the timer is still running.
|
|
31
|
+
this.timer.unref();
|
|
32
|
+
}
|
|
33
|
+
/** Stop sampling and write a summary line. */ stopTest() {
|
|
34
|
+
if (!this.timer) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
// Take a final sample before stopping.
|
|
38
|
+
this.sample();
|
|
39
|
+
clearInterval(this.timer);
|
|
40
|
+
this.timer = undefined;
|
|
41
|
+
this.histogram.disable();
|
|
42
|
+
this.histogram.reset();
|
|
43
|
+
this.writeSummary();
|
|
44
|
+
this.lastELU = undefined;
|
|
45
|
+
this.testName = undefined;
|
|
46
|
+
this.testStart = undefined;
|
|
47
|
+
this.eluSamples = [];
|
|
48
|
+
}
|
|
49
|
+
/** Alias for stopTest — call on process exit to flush any remaining data. */ stop() {
|
|
50
|
+
this.stopTest();
|
|
51
|
+
}
|
|
52
|
+
sample() {
|
|
53
|
+
const newELU = performance.eventLoopUtilization();
|
|
54
|
+
const delta = performance.eventLoopUtilization(newELU, this.lastELU);
|
|
55
|
+
this.lastELU = newELU;
|
|
56
|
+
const elu = delta.utilization;
|
|
57
|
+
this.eluSamples.push(elu);
|
|
58
|
+
const p50 = this.histogram.percentile(50) / NANOS_PER_MS;
|
|
59
|
+
const p99 = this.histogram.percentile(99) / NANOS_PER_MS;
|
|
60
|
+
const max = this.histogram.max / NANOS_PER_MS;
|
|
61
|
+
const heapMb = Math.round(process.memoryUsage().heapUsed / (1024 * 1024));
|
|
62
|
+
const now = new Date();
|
|
63
|
+
const time = [
|
|
64
|
+
now.getHours(),
|
|
65
|
+
now.getMinutes(),
|
|
66
|
+
now.getSeconds()
|
|
67
|
+
].map((n)=>String(n).padStart(2, '0')).join(':');
|
|
68
|
+
const line = padColumns(time, elu.toFixed(2), `${p50.toFixed(1)}ms`, `${p99.toFixed(1)}ms`, `${max.toFixed(1)}ms`, String(heapMb));
|
|
69
|
+
appendFileSync(this.filePath, line + '\n');
|
|
70
|
+
// Reset histogram so next sample only reflects the new interval.
|
|
71
|
+
this.histogram.reset();
|
|
72
|
+
}
|
|
73
|
+
writeSummary() {
|
|
74
|
+
if (this.eluSamples.length === 0 || this.testStart === undefined) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const mean = this.eluSamples.reduce((a, b)=>a + b, 0) / this.eluSamples.length;
|
|
78
|
+
const maxElu = Math.max(...this.eluSamples);
|
|
79
|
+
const sorted = [
|
|
80
|
+
...this.eluSamples
|
|
81
|
+
].sort((a, b)=>a - b);
|
|
82
|
+
const p90Elu = sorted[Math.floor(sorted.length * 0.9)] ?? maxElu;
|
|
83
|
+
const durationS = ((performance.now() - this.testStart) / 1000).toFixed(1);
|
|
84
|
+
let summary = `--- Summary: mean_elu=${mean.toFixed(2)} max_elu=${maxElu.toFixed(2)} p90_elu=${p90Elu.toFixed(2)} duration=${durationS}s`;
|
|
85
|
+
if (maxElu > 0.85) {
|
|
86
|
+
summary += ' WARNING:ELU>0.85';
|
|
87
|
+
}
|
|
88
|
+
summary += ' ---\n';
|
|
89
|
+
appendFileSync(this.filePath, summary);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function padColumns(...cols) {
|
|
93
|
+
const widths = [
|
|
94
|
+
11,
|
|
95
|
+
7,
|
|
96
|
+
12,
|
|
97
|
+
12,
|
|
98
|
+
12,
|
|
99
|
+
8
|
|
100
|
+
];
|
|
101
|
+
return cols.map((col, i)=>col.padEnd(widths[i] ?? 10)).join('');
|
|
102
|
+
}
|
|
@@ -1,8 +1,89 @@
|
|
|
1
|
+
import type { AztecNode } from '@aztec/aztec.js/node';
|
|
2
|
+
import type { GasFees } from '@aztec/stdlib/gas';
|
|
1
3
|
export declare const METRICS_PORT = 4318;
|
|
4
|
+
/** Default fee padding applied to predicted min fees in e2e tests. */
|
|
5
|
+
export declare const DEFAULT_MIN_FEE_PADDING = 5;
|
|
6
|
+
/**
|
|
7
|
+
* Large fee padding for txs that may be mined significantly later than when they were created,
|
|
8
|
+
* such as cloned txs in throughput/capacity benchmarks, where fees may spike between creation and mining.
|
|
9
|
+
*/
|
|
10
|
+
export declare const LARGE_MIN_FEE_PADDING = 15;
|
|
11
|
+
/**
|
|
12
|
+
* Fee padding used by tests running under proposer pipelining. Under pipelining the fee-asset
|
|
13
|
+
* price modifier evolves faster across the build/publish gap, so client-set maxFeesPerGas (sized
|
|
14
|
+
* for the default 5x padding) was getting bumped past by the time the tx mined a few slots later.
|
|
15
|
+
* Observed worst case in CI: fee evolved ~20x between PXE snapshot and inclusion, exceeding even
|
|
16
|
+
* LARGE_MIN_FEE_PADDING (15x).
|
|
17
|
+
*/
|
|
18
|
+
export declare const PIPELINED_FEE_PADDING = 30;
|
|
19
|
+
/**
|
|
20
|
+
* Setup option preset that opts a test into proposer pipelining. Use with `setup()`:
|
|
21
|
+
*
|
|
22
|
+
* await setup(N, { ...PIPELINING_SETUP_OPTS, ...otherOpts });
|
|
23
|
+
*
|
|
24
|
+
* The preset runs the production Sequencer with the always-enforced timetable at real (wall-clock)
|
|
25
|
+
* timing, yielding exactly 2 blocks per slot. It sets:
|
|
26
|
+
* - `inboxLag: 2` so the sequencer sources L1->L2 messages from checkpoint N-1 (already sealed),
|
|
27
|
+
* avoiding `L1ToL2MessagesNotReadyError` when building for slot N during slot N-1.
|
|
28
|
+
* - `minTxsPerBlock: 0` so empty checkpoints land even when a tx arrives late in the build window
|
|
29
|
+
* (otherwise the chain stalls on alternating slots).
|
|
30
|
+
* - `aztecSlotDuration: 12` / `ethereumSlotDuration: 4` so the pipelined cycle fits inside the
|
|
31
|
+
* default 300s Jest hook budget. Tests that depend on the env-default 72s/12s should override.
|
|
32
|
+
* - `blockDurationMs: 3000` to cut exactly 2 blocks per slot. With `ethereumSlotDuration < 8` the
|
|
33
|
+
* timing model normalizes to `init=0.5`, `assemble=0.5`, `P=0`, `minExec=1`, so
|
|
34
|
+
* `maxBlocks = floor((S - init - (assemble + 2P + D)) / D) = floor((12 - 0.5 - (0.5 + 0 + 3)) / 3)
|
|
35
|
+
* = floor(8/3) = 2`. (`blockDurationMs: 2000` would give 4 blocks/slot; 3000 also matches the
|
|
36
|
+
* production default.)
|
|
37
|
+
* - `walletMinFeePadding: PIPELINED_FEE_PADDING` (30x) to absorb the wider fee evolution window.
|
|
38
|
+
*/
|
|
39
|
+
export declare const PIPELINING_SETUP_OPTS: {
|
|
40
|
+
readonly inboxLag: 2;
|
|
41
|
+
readonly minTxsPerBlock: 0;
|
|
42
|
+
readonly aztecSlotDuration: 12;
|
|
43
|
+
readonly ethereumSlotDuration: 4;
|
|
44
|
+
readonly blockDurationMs: 3000;
|
|
45
|
+
readonly walletMinFeePadding: 30;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Setup option preset that opts a test into the deterministic AutomineSequencer path.
|
|
49
|
+
* Use only for single-sequencer tests that don't exercise block-building or consensus
|
|
50
|
+
* (e.g. e2e_token, e2e_amm, e2e_authwit). Not compatible with `p2p/*`,
|
|
51
|
+
* `multi-node/*`, `e2e_block_building`, or any multi-validator suite.
|
|
52
|
+
*
|
|
53
|
+
* await setup(N, { ...AUTOMINE_E2E_OPTS, ...otherOpts });
|
|
54
|
+
*
|
|
55
|
+
* The preset:
|
|
56
|
+
* - Swaps the production Sequencer for an AutomineSequencer that builds one block per
|
|
57
|
+
* submitted tx, publishes synchronously to L1, and owns all time control through a
|
|
58
|
+
* serial queue (see `sequencer-client/src/sequencer/automine/automine_sequencer.ts`).
|
|
59
|
+
* - Disables the validator client (the AutomineSequencer needs none).
|
|
60
|
+
* - Uses `inboxLag: 1` (synchronous) since the AutomineSequencer publishes one block per tx.
|
|
61
|
+
* - Runs anvil at a 4s interval (`ethereumSlotDuration: 4`); at runtime the AutomineSequencer
|
|
62
|
+
* flips anvil into automine so each submitted tx mines its L1 block immediately. Initial L1
|
|
63
|
+
* contract deployment (which runs before the sequencer starts) is mined immediately too via the
|
|
64
|
+
* global `automineL1Setup` default in `setup()`, instead of stalling on the 4s interval.
|
|
65
|
+
*
|
|
66
|
+
* Requires `aztecTargetCommitteeSize: 0`, which is the e2e default at `setup.ts:317`.
|
|
67
|
+
*/
|
|
68
|
+
export declare const AUTOMINE_E2E_OPTS: {
|
|
69
|
+
readonly useAutomineSequencer: true;
|
|
70
|
+
readonly inboxLag: 1;
|
|
71
|
+
readonly minTxsPerBlock: 0;
|
|
72
|
+
readonly aztecSlotDuration: 12;
|
|
73
|
+
readonly ethereumSlotDuration: 4;
|
|
74
|
+
readonly walletMinFeePadding: 30;
|
|
75
|
+
};
|
|
76
|
+
/** Returns worst-case predicted min fees with padding applied, mirroring the BaseWallet pattern. */
|
|
77
|
+
export declare function getPaddedMaxFeesPerGas(node: AztecNode, padding?: number): Promise<GasFees>;
|
|
2
78
|
export declare const shouldCollectMetrics: () => 4318 | undefined;
|
|
79
|
+
/** Returns the boot node UDP port from environment variable or default value. */
|
|
80
|
+
export declare function getBootNodeUdpPort(): number;
|
|
81
|
+
/** Returns the anvil port from environment variable or default value. */
|
|
82
|
+
export declare function getAnvilPort(): number;
|
|
3
83
|
export declare const TEST_PEER_CHECK_INTERVAL_MS = 1000;
|
|
4
|
-
export declare const
|
|
84
|
+
export declare const TEST_MAX_PENDING_TX_POOL_COUNT = 10000;
|
|
5
85
|
export declare const MNEMONIC = "test test test test test test test test test test test junk";
|
|
86
|
+
export declare const L1_DIRECT_WRITE_ACCOUNT_INDEX = 1;
|
|
6
87
|
export declare const privateKey: Buffer<ArrayBuffer>;
|
|
7
88
|
export declare const privateKey2: Buffer<ArrayBuffer>;
|
|
8
89
|
export declare const U128_UNDERFLOW_ERROR = "Assertion failed: attempt to subtract with overflow";
|
|
@@ -12,5 +93,4 @@ export declare const DUPLICATE_NULLIFIER_ERROR: RegExp;
|
|
|
12
93
|
export declare const NO_L1_TO_L2_MSG_ERROR: RegExp;
|
|
13
94
|
export declare const STATIC_CALL_STATE_MODIFICATION_ERROR: RegExp;
|
|
14
95
|
export declare const STATIC_CONTEXT_ASSERTION_ERROR: RegExp;
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=fixtures.d.ts.map
|
|
96
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml4dHVyZXMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9maXh0dXJlcy9maXh0dXJlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN0RCxPQUFPLEtBQUssRUFBRSxPQUFPLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUVqRCxlQUFPLE1BQU0sWUFBWSxPQUFPLENBQUM7QUFFakMsc0VBQXNFO0FBQ3RFLGVBQU8sTUFBTSx1QkFBdUIsSUFBSSxDQUFDO0FBRXpDOzs7R0FHRztBQUNILGVBQU8sTUFBTSxxQkFBcUIsS0FBSyxDQUFDO0FBRXhDOzs7Ozs7R0FNRztBQUNILGVBQU8sTUFBTSxxQkFBcUIsS0FBSyxDQUFDO0FBRXhDOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBbUJHO0FBQ0gsZUFBTyxNQUFNLHFCQUFxQjs7Ozs7OztDQU94QixDQUFDO0FBRVg7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBb0JHO0FBQ0gsZUFBTyxNQUFNLGlCQUFpQjs7Ozs7OztDQU9wQixDQUFDO0FBRVgsb0dBQW9HO0FBQ3BHLHdCQUFzQixzQkFBc0IsQ0FBQyxJQUFJLEVBQUUsU0FBUyxFQUFFLE9BQU8sU0FBMEIsR0FBRyxPQUFPLENBQUMsT0FBTyxDQUFDLENBT2pIO0FBRUQsZUFBTyxNQUFNLG9CQUFvQix3QkFLaEMsQ0FBQztBQUVGLGlGQUFpRjtBQUNqRix3QkFBZ0Isa0JBQWtCLElBQUksTUFBTSxDQUUzQztBQUVELHlFQUF5RTtBQUN6RSx3QkFBZ0IsWUFBWSxJQUFJLE1BQU0sQ0FFckM7QUFFRCxlQUFPLE1BQU0sMkJBQTJCLE9BQU8sQ0FBQztBQUNoRCxlQUFPLE1BQU0sOEJBQThCLFFBQVMsQ0FBQztBQUVyRCxlQUFPLE1BQU0sUUFBUSxnRUFBZ0UsQ0FBQztBQU90RixlQUFPLE1BQU0sNkJBQTZCLElBQUksQ0FBQztBQUUvQyxlQUFPLE1BQU0sVUFBVSxxQkFBeUYsQ0FBQztBQUNqSCxlQUFPLE1BQU0sV0FBVyxxQkFBeUYsQ0FBQztBQUdsSCxlQUFPLE1BQU0sb0JBQW9CLHdEQUF3RCxDQUFDO0FBQzFGLGVBQU8sTUFBTSxtQkFBbUIsbURBQW1ELENBQUM7QUFDcEYsZUFBTyxNQUFNLHFCQUFxQiwrRUFBK0UsQ0FBQztBQUVsSCxlQUFPLE1BQU0seUJBQXlCLFFBQWdDLENBQUM7QUFDdkUsZUFBTyxNQUFNLHFCQUFxQixRQUN3RSxDQUFDO0FBQzNHLGVBQU8sTUFBTSxvQ0FBb0MsUUFBMEMsQ0FBQztBQUM1RixlQUFPLE1BQU0sOEJBQThCLFFBQWtFLENBQUMifQ==
|