@aztec/stdlib 0.0.0-test.1 → 0.0.1-fake-ceab37513c
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/abi/abi.d.ts +308 -315
- package/dest/abi/abi.d.ts.map +1 -1
- package/dest/abi/abi.js +70 -36
- package/dest/abi/authorization_selector.d.ts +52 -0
- package/dest/abi/authorization_selector.d.ts.map +1 -0
- package/dest/abi/authorization_selector.js +70 -0
- package/dest/abi/buffer.d.ts +0 -2
- package/dest/abi/buffer.d.ts.map +1 -1
- package/dest/abi/contract_artifact.d.ts +17 -4
- package/dest/abi/contract_artifact.d.ts.map +1 -1
- package/dest/abi/contract_artifact.js +74 -54
- package/dest/abi/decoder.d.ts +1 -1
- package/dest/abi/decoder.d.ts.map +1 -1
- package/dest/abi/decoder.js +8 -10
- package/dest/abi/encoder.d.ts.map +1 -1
- package/dest/abi/encoder.js +68 -2
- package/dest/abi/event_selector.d.ts +0 -2
- package/dest/abi/event_selector.d.ts.map +1 -1
- package/dest/abi/function_selector.d.ts +0 -2
- package/dest/abi/function_selector.d.ts.map +1 -1
- package/dest/abi/index.d.ts +1 -0
- package/dest/abi/index.d.ts.map +1 -1
- package/dest/abi/index.js +1 -0
- package/dest/abi/note_selector.d.ts +0 -2
- package/dest/abi/note_selector.d.ts.map +1 -1
- package/dest/abi/selector.d.ts +0 -3
- package/dest/abi/selector.d.ts.map +1 -1
- package/dest/abi/utils.d.ts +6 -2
- package/dest/abi/utils.d.ts.map +1 -1
- package/dest/abi/utils.js +7 -0
- package/dest/auth_witness/auth_witness.d.ts +22 -3
- package/dest/auth_witness/auth_witness.d.ts.map +1 -1
- package/dest/auth_witness/auth_witness.js +29 -0
- package/dest/avm/avm.d.ts +8395 -2099
- package/dest/avm/avm.d.ts.map +1 -1
- package/dest/avm/avm.js +367 -131
- package/dest/avm/avm_accumulated_data.d.ts +84 -15
- package/dest/avm/avm_accumulated_data.d.ts.map +1 -1
- package/dest/avm/avm_accumulated_data.js +85 -2
- package/dest/avm/avm_circuit_public_inputs.d.ts +258 -215
- package/dest/avm/avm_circuit_public_inputs.d.ts.map +1 -1
- package/dest/avm/avm_circuit_public_inputs.js +49 -9
- package/dest/avm/avm_proving_request.d.ts +4066 -1156
- package/dest/avm/avm_proving_request.d.ts.map +1 -1
- package/dest/avm/contract_storage_read.d.ts +1 -3
- package/dest/avm/contract_storage_read.d.ts.map +1 -1
- package/dest/avm/contract_storage_update_request.d.ts +1 -3
- package/dest/avm/contract_storage_update_request.d.ts.map +1 -1
- package/dest/avm/message_pack.d.ts +0 -2
- package/dest/avm/message_pack.d.ts.map +1 -1
- package/dest/avm/message_pack.js +9 -2
- package/dest/avm/public_call_stack_item_compressed.d.ts +1 -3
- package/dest/avm/public_call_stack_item_compressed.d.ts.map +1 -1
- package/dest/avm/public_data_hint.d.ts +1 -3
- package/dest/avm/public_data_hint.d.ts.map +1 -1
- package/dest/avm/public_data_read.d.ts +1 -3
- package/dest/avm/public_data_read.d.ts.map +1 -1
- package/dest/avm/public_data_update_request.d.ts +1 -4
- package/dest/avm/public_data_update_request.d.ts.map +1 -1
- package/dest/avm/public_data_write.d.ts +5 -3
- package/dest/avm/public_data_write.d.ts.map +1 -1
- package/dest/avm/public_data_write.js +22 -1
- package/dest/avm/public_inner_call_request.d.ts +1 -4
- package/dest/avm/public_inner_call_request.d.ts.map +1 -1
- package/dest/avm/public_inner_call_request.js +1 -1
- package/dest/avm/revert_code.d.ts +0 -3
- package/dest/avm/revert_code.d.ts.map +1 -1
- package/dest/aztec-address/index.d.ts +1 -4
- package/dest/aztec-address/index.d.ts.map +1 -1
- package/dest/block/attestation_info.d.ts +30 -0
- package/dest/block/attestation_info.d.ts.map +1 -0
- package/dest/block/attestation_info.js +39 -0
- package/dest/block/block_hash.d.ts +5 -3
- package/dest/block/block_hash.d.ts.map +1 -1
- package/dest/block/block_hash.js +11 -0
- package/dest/block/body.d.ts +3 -5
- package/dest/block/body.d.ts.map +1 -1
- package/dest/block/body.js +10 -13
- package/dest/block/in_block.d.ts +12 -11
- package/dest/block/in_block.d.ts.map +1 -1
- package/dest/block/in_block.js +4 -4
- package/dest/block/index.d.ts +6 -2
- package/dest/block/index.d.ts.map +1 -1
- package/dest/block/index.js +6 -2
- package/dest/block/l2_block.d.ts +10 -23
- package/dest/block/l2_block.d.ts.map +1 -1
- package/dest/block/l2_block.js +35 -50
- package/dest/block/l2_block_code_to_purge.d.ts +2 -3
- package/dest/block/l2_block_code_to_purge.d.ts.map +1 -1
- package/dest/block/l2_block_code_to_purge.js +6 -7
- package/dest/block/l2_block_info.d.ts +41 -0
- package/dest/block/l2_block_info.d.ts.map +1 -0
- package/dest/block/l2_block_info.js +40 -0
- package/dest/block/l2_block_source.d.ts +84 -15
- package/dest/block/l2_block_source.d.ts.map +1 -1
- package/dest/block/l2_block_source.js +11 -0
- package/dest/block/l2_block_stream/index.d.ts +4 -0
- package/dest/block/l2_block_stream/index.d.ts.map +1 -0
- package/dest/block/l2_block_stream/index.js +3 -0
- package/dest/block/l2_block_stream/interfaces.d.ts +26 -0
- package/dest/block/l2_block_stream/interfaces.d.ts.map +1 -0
- package/dest/block/l2_block_stream/l2_block_stream.d.ts +35 -0
- package/dest/block/l2_block_stream/l2_block_stream.d.ts.map +1 -0
- package/dest/block/{l2_block_downloader → l2_block_stream}/l2_block_stream.js +70 -19
- package/dest/block/l2_block_stream/l2_tips_memory_store.d.ts +18 -0
- package/dest/block/l2_block_stream/l2_tips_memory_store.d.ts.map +1 -0
- package/dest/block/l2_block_stream/l2_tips_memory_store.js +70 -0
- package/dest/block/proposal/attestations_and_signers.d.ts +48 -0
- package/dest/block/proposal/attestations_and_signers.d.ts.map +1 -0
- package/dest/block/proposal/attestations_and_signers.js +99 -0
- package/dest/block/proposal/committee_attestation.d.ts +37 -0
- package/dest/block/proposal/committee_attestation.d.ts.map +1 -0
- package/dest/block/proposal/committee_attestation.js +104 -0
- package/dest/block/proposal/index.d.ts +3 -0
- package/dest/block/proposal/index.d.ts.map +1 -0
- package/dest/block/proposal/index.js +2 -0
- package/dest/block/published_l2_block.d.ts +143 -0
- package/dest/block/published_l2_block.d.ts.map +1 -0
- package/dest/block/published_l2_block.js +63 -0
- package/dest/block/test/index.d.ts +2 -0
- package/dest/block/test/index.d.ts.map +1 -0
- package/dest/block/test/index.js +1 -0
- package/dest/block/test/l2_tips_store_test_suite.d.ts +3 -0
- package/dest/block/test/l2_tips_store_test_suite.d.ts.map +1 -0
- package/dest/block/test/l2_tips_store_test_suite.js +108 -0
- package/dest/block/validate_block_result.d.ts +222 -0
- package/dest/block/validate_block_result.d.ts.map +1 -0
- package/dest/block/validate_block_result.js +83 -0
- package/dest/config/{config.d.ts → chain-config.d.ts} +5 -4
- package/dest/config/chain-config.d.ts.map +1 -0
- package/dest/config/{config.js → chain-config.js} +4 -5
- package/dest/config/index.d.ts +2 -1
- package/dest/config/index.d.ts.map +1 -1
- package/dest/config/index.js +2 -1
- package/dest/config/node-rpc-config.d.ts +11 -0
- package/dest/config/node-rpc-config.d.ts.map +1 -0
- package/dest/config/node-rpc-config.js +18 -0
- package/dest/contract/artifact_hash.d.ts +6 -8
- package/dest/contract/artifact_hash.d.ts.map +1 -1
- package/dest/contract/artifact_hash.js +11 -10
- package/dest/contract/complete_address.d.ts +0 -2
- package/dest/contract/complete_address.d.ts.map +1 -1
- package/dest/contract/contract_class.d.ts.map +1 -1
- package/dest/contract/contract_class.js +3 -19
- package/dest/contract/contract_class_id.d.ts +0 -2
- package/dest/contract/contract_class_id.d.ts.map +1 -1
- package/dest/contract/contract_class_id.js +6 -4
- package/dest/contract/contract_instance.d.ts +6 -8
- package/dest/contract/contract_instance.d.ts.map +1 -1
- package/dest/contract/contract_instance.js +6 -5
- package/dest/contract/contract_instance_update.d.ts +3 -4
- package/dest/contract/contract_instance_update.d.ts.map +1 -1
- package/dest/contract/contract_instance_update.js +6 -6
- package/dest/contract/index.d.ts +1 -1
- package/dest/contract/index.d.ts.map +1 -1
- package/dest/contract/index.js +1 -1
- package/dest/contract/interfaces/contract_class.d.ts +46 -186
- package/dest/contract/interfaces/contract_class.d.ts.map +1 -1
- package/dest/contract/interfaces/contract_class.js +4 -9
- package/dest/contract/interfaces/contract_data_source.d.ts +10 -18
- package/dest/contract/interfaces/contract_data_source.d.ts.map +1 -1
- package/dest/contract/interfaces/contract_instance.d.ts +2 -2
- package/dest/contract/interfaces/contract_instance.d.ts.map +1 -1
- package/dest/contract/interfaces/contract_instance_update.d.ts +9 -8
- package/dest/contract/interfaces/contract_instance_update.d.ts.map +1 -1
- package/dest/contract/interfaces/contract_instance_update.js +1 -1
- package/dest/contract/interfaces/node-info.d.ts +2 -2
- package/dest/contract/interfaces/node-info.d.ts.map +1 -1
- package/dest/contract/interfaces/node-info.js +1 -1
- package/dest/contract/interfaces/protocol_contract_addresses.d.ts +9 -9
- package/dest/contract/interfaces/protocol_contract_addresses.d.ts.map +1 -1
- package/dest/contract/interfaces/protocol_contract_addresses.js +4 -4
- package/dest/contract/private_function.d.ts +0 -2
- package/dest/contract/private_function.d.ts.map +1 -1
- package/dest/contract/private_function_membership_proof.d.ts +2 -2
- package/dest/contract/private_function_membership_proof.js +7 -7
- package/dest/contract/utility_function_membership_proof.d.ts +27 -0
- package/dest/contract/utility_function_membership_proof.d.ts.map +1 -0
- package/dest/contract/{unconstrained_function_membership_proof.js → utility_function_membership_proof.js} +13 -13
- package/dest/database-version/version_manager.d.ts +29 -10
- package/dest/database-version/version_manager.d.ts.map +1 -1
- package/dest/database-version/version_manager.js +42 -21
- package/dest/delayed_public_mutable/delayed_public_mutable_values.d.ts +20 -0
- package/dest/delayed_public_mutable/delayed_public_mutable_values.d.ts.map +1 -0
- package/dest/{shared_mutable/shared_mutable_values.js → delayed_public_mutable/delayed_public_mutable_values.js} +16 -16
- package/dest/{shared_mutable/shared_mutable_values_with_hash.d.ts → delayed_public_mutable/delayed_public_mutable_values_with_hash.d.ts} +6 -6
- package/dest/delayed_public_mutable/delayed_public_mutable_values_with_hash.d.ts.map +1 -0
- package/dest/delayed_public_mutable/delayed_public_mutable_values_with_hash.js +30 -0
- package/dest/delayed_public_mutable/index.d.ts +5 -0
- package/dest/delayed_public_mutable/index.d.ts.map +1 -0
- package/dest/delayed_public_mutable/index.js +4 -0
- package/dest/delayed_public_mutable/scheduled_delay_change.d.ts +10 -0
- package/dest/delayed_public_mutable/scheduled_delay_change.d.ts.map +1 -0
- package/dest/{shared_mutable → delayed_public_mutable}/scheduled_delay_change.js +5 -5
- package/dest/delayed_public_mutable/scheduled_value_change.d.ts +12 -0
- package/dest/delayed_public_mutable/scheduled_value_change.d.ts.map +1 -0
- package/dest/{shared_mutable → delayed_public_mutable}/scheduled_value_change.js +7 -7
- package/dest/epoch-helpers/index.d.ts +24 -2
- package/dest/epoch-helpers/index.d.ts.map +1 -1
- package/dest/epoch-helpers/index.js +32 -2
- package/dest/errors/proving_error.d.ts.map +1 -1
- package/dest/errors/simulation_error.d.ts.map +1 -1
- package/dest/errors/simulation_error.js +2 -2
- package/dest/fees/transaction_fee.d.ts +5 -0
- package/dest/fees/transaction_fee.d.ts.map +1 -1
- package/dest/fees/transaction_fee.js +15 -5
- package/dest/file-store/factory.d.ts +7 -0
- package/dest/file-store/factory.d.ts.map +1 -0
- package/dest/file-store/factory.js +64 -0
- package/dest/file-store/gcs.d.ts +20 -0
- package/dest/file-store/gcs.d.ts.map +1 -0
- package/dest/file-store/gcs.js +115 -0
- package/dest/file-store/http.d.ts +14 -0
- package/dest/file-store/http.d.ts.map +1 -0
- package/dest/file-store/http.js +69 -0
- package/dest/file-store/index.d.ts +3 -0
- package/dest/file-store/index.d.ts.map +1 -0
- package/dest/file-store/index.js +2 -0
- package/dest/file-store/interface.d.ts +28 -0
- package/dest/file-store/interface.d.ts.map +1 -0
- package/dest/file-store/interface.js +1 -0
- package/dest/file-store/local.d.ts +14 -0
- package/dest/file-store/local.d.ts.map +1 -0
- package/dest/file-store/local.js +40 -0
- package/dest/file-store/s3.d.ts +26 -0
- package/dest/file-store/s3.d.ts.map +1 -0
- package/dest/file-store/s3.js +252 -0
- package/dest/gas/gas.d.ts +2 -4
- package/dest/gas/gas.d.ts.map +1 -1
- package/dest/gas/gas.js +4 -1
- package/dest/gas/gas_fees.d.ts +16 -18
- package/dest/gas/gas_fees.d.ts.map +1 -1
- package/dest/gas/gas_fees.js +17 -18
- package/dest/gas/gas_settings.d.ts +25 -27
- package/dest/gas/gas_settings.d.ts.map +1 -1
- package/dest/gas/gas_settings.js +6 -6
- package/dest/hash/hash.d.ts +27 -7
- package/dest/hash/hash.d.ts.map +1 -1
- package/dest/hash/hash.js +39 -24
- package/dest/interfaces/allowed_element.d.ts +53 -0
- package/dest/interfaces/allowed_element.d.ts.map +1 -0
- package/dest/interfaces/allowed_element.js +18 -0
- package/dest/interfaces/api_limit.d.ts +4 -0
- package/dest/interfaces/api_limit.d.ts.map +1 -0
- package/dest/interfaces/api_limit.js +3 -0
- package/dest/interfaces/archiver.d.ts +44 -2
- package/dest/interfaces/archiver.d.ts.map +1 -1
- package/dest/interfaces/archiver.js +33 -15
- package/dest/interfaces/aztec-node-admin.d.ts +286 -0
- package/dest/interfaces/aztec-node-admin.d.ts.map +1 -0
- package/dest/interfaces/aztec-node-admin.js +37 -0
- package/dest/interfaces/aztec-node.d.ts +89 -81
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +42 -33
- package/dest/interfaces/block-builder.d.ts +39 -2
- package/dest/interfaces/block-builder.d.ts.map +1 -1
- package/dest/interfaces/block-builder.js +1 -1
- package/dest/interfaces/client.d.ts +2 -0
- package/dest/interfaces/client.d.ts.map +1 -1
- package/dest/interfaces/client.js +2 -0
- package/dest/interfaces/configs.d.ts +54 -34
- package/dest/interfaces/configs.d.ts.map +1 -1
- package/dest/interfaces/configs.js +10 -18
- package/dest/interfaces/epoch-prover.d.ts +8 -6
- package/dest/interfaces/epoch-prover.d.ts.map +1 -1
- package/dest/interfaces/get_logs_response.d.ts +1 -1
- package/dest/interfaces/l2_logs_source.d.ts +2 -1
- package/dest/interfaces/l2_logs_source.d.ts.map +1 -1
- package/dest/interfaces/merkle_tree_operations.d.ts +21 -10
- package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
- package/dest/interfaces/p2p.d.ts +15 -3
- package/dest/interfaces/p2p.d.ts.map +1 -1
- package/dest/interfaces/p2p.js +6 -2
- package/dest/interfaces/private_kernel_prover.d.ts +4 -5
- package/dest/interfaces/private_kernel_prover.d.ts.map +1 -1
- package/dest/interfaces/prover-agent.d.ts +31 -6
- package/dest/interfaces/prover-agent.d.ts.map +1 -1
- package/dest/interfaces/prover-agent.js +15 -6
- package/dest/interfaces/prover-client.d.ts +5 -5
- package/dest/interfaces/prover-client.d.ts.map +1 -1
- package/dest/interfaces/prover-client.js +8 -6
- package/dest/interfaces/prover-coordination.d.ts +4 -9
- package/dest/interfaces/prover-coordination.d.ts.map +1 -1
- package/dest/interfaces/prover-coordination.js +1 -7
- package/dest/interfaces/prover-node.d.ts +5 -2
- package/dest/interfaces/prover-node.d.ts.map +1 -1
- package/dest/interfaces/prover-node.js +8 -3
- package/dest/interfaces/proving-job.d.ts +4139 -1208
- package/dest/interfaces/proving-job.d.ts.map +1 -1
- package/dest/interfaces/proving-job.js +15 -2
- package/dest/interfaces/public_state_source.d.ts +8 -0
- package/dest/interfaces/public_state_source.d.ts.map +1 -0
- package/dest/interfaces/public_state_source.js +1 -0
- package/dest/interfaces/pxe.d.ts +50 -61
- package/dest/interfaces/pxe.d.ts.map +1 -1
- package/dest/interfaces/pxe.js +15 -18
- package/dest/interfaces/server.d.ts +11 -5
- package/dest/interfaces/server.d.ts.map +1 -1
- package/dest/interfaces/server.js +11 -5
- package/dest/interfaces/server_circuit_prover.d.ts +15 -3
- package/dest/interfaces/server_circuit_prover.d.ts.map +1 -1
- package/dest/interfaces/service.d.ts +3 -2
- package/dest/interfaces/service.d.ts.map +1 -1
- package/dest/interfaces/slasher.d.ts +86 -0
- package/dest/interfaces/slasher.d.ts.map +1 -0
- package/dest/interfaces/slasher.js +23 -0
- package/dest/interfaces/tx_provider.d.ts +24 -0
- package/dest/interfaces/tx_provider.d.ts.map +1 -0
- package/dest/interfaces/tx_provider.js +1 -0
- package/dest/interfaces/validator.d.ts +159 -0
- package/dest/interfaces/validator.d.ts.map +1 -0
- package/dest/interfaces/validator.js +17 -0
- package/dest/interfaces/world_state.d.ts +23 -21
- package/dest/interfaces/world_state.d.ts.map +1 -1
- package/dest/interfaces/world_state.js +1 -1
- package/dest/kernel/claimed_length_array.d.ts +34 -0
- package/dest/kernel/claimed_length_array.d.ts.map +1 -0
- package/dest/kernel/claimed_length_array.js +58 -0
- package/dest/kernel/hiding_kernel_private_inputs.d.ts +19 -0
- package/dest/kernel/hiding_kernel_private_inputs.d.ts.map +1 -0
- package/dest/kernel/hiding_kernel_private_inputs.js +34 -0
- package/dest/kernel/hints/build_note_hash_read_request_hints.d.ts +6 -6
- package/dest/kernel/hints/build_note_hash_read_request_hints.d.ts.map +1 -1
- package/dest/kernel/hints/build_note_hash_read_request_hints.js +18 -20
- package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts +7 -10
- package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts.map +1 -1
- package/dest/kernel/hints/build_nullifier_read_request_hints.js +17 -32
- package/dest/kernel/hints/build_transient_data_hints.d.ts +4 -3
- package/dest/kernel/hints/build_transient_data_hints.d.ts.map +1 -1
- package/dest/kernel/hints/build_transient_data_hints.js +9 -10
- package/dest/kernel/hints/find_private_kernel_reset_dimensions.js +1 -1
- package/dest/kernel/hints/index.d.ts +1 -2
- package/dest/kernel/hints/index.d.ts.map +1 -1
- package/dest/kernel/hints/index.js +1 -2
- package/dest/kernel/hints/key_validation_hint.d.ts +3 -9
- package/dest/kernel/hints/key_validation_hint.d.ts.map +1 -1
- package/dest/kernel/hints/key_validation_hint.js +5 -7
- package/dest/kernel/hints/key_validation_request.d.ts +1 -3
- package/dest/kernel/hints/key_validation_request.d.ts.map +1 -1
- package/dest/kernel/hints/key_validation_request_and_generator.d.ts +1 -3
- package/dest/kernel/hints/key_validation_request_and_generator.d.ts.map +1 -1
- package/dest/kernel/hints/note_hash_read_request_hints.d.ts +0 -2
- package/dest/kernel/hints/note_hash_read_request_hints.d.ts.map +1 -1
- package/dest/kernel/hints/note_hash_read_request_hints.js +4 -4
- package/dest/kernel/hints/nullifier_read_request_hints.d.ts +0 -2
- package/dest/kernel/hints/nullifier_read_request_hints.d.ts.map +1 -1
- package/dest/kernel/hints/nullifier_read_request_hints.js +4 -4
- package/dest/kernel/hints/private_kernel_reset_hints.d.ts +9 -11
- package/dest/kernel/hints/private_kernel_reset_hints.d.ts.map +1 -1
- package/dest/kernel/hints/private_kernel_reset_hints.js +13 -9
- package/dest/kernel/hints/read_request.d.ts +0 -2
- package/dest/kernel/hints/read_request.d.ts.map +1 -1
- package/dest/kernel/hints/read_request_hints.d.ts +29 -31
- package/dest/kernel/hints/read_request_hints.d.ts.map +1 -1
- package/dest/kernel/hints/read_request_hints.js +28 -28
- package/dest/kernel/hints/scoped_key_validation_request_and_generator.d.ts +1 -3
- package/dest/kernel/hints/scoped_key_validation_request_and_generator.d.ts.map +1 -1
- package/dest/kernel/hints/{transient_data_index_hint.d.ts → transient_data_squashing_hint.d.ts} +5 -8
- package/dest/kernel/hints/transient_data_squashing_hint.d.ts.map +1 -0
- package/dest/kernel/hints/{transient_data_index_hint.js → transient_data_squashing_hint.js} +5 -5
- package/dest/kernel/hints/tree_leaf_read_request.d.ts +0 -2
- package/dest/kernel/hints/tree_leaf_read_request.d.ts.map +1 -1
- package/dest/kernel/index.d.ts +4 -2
- package/dest/kernel/index.d.ts.map +1 -1
- package/dest/kernel/index.js +4 -2
- package/dest/kernel/log_hash.d.ts +27 -9
- package/dest/kernel/log_hash.d.ts.map +1 -1
- package/dest/kernel/log_hash.js +72 -13
- package/dest/kernel/note_hash.d.ts +0 -2
- package/dest/kernel/note_hash.d.ts.map +1 -1
- package/dest/kernel/nullifier.d.ts +0 -2
- package/dest/kernel/nullifier.d.ts.map +1 -1
- package/dest/kernel/padded_side_effects.d.ts +26 -0
- package/dest/kernel/padded_side_effects.d.ts.map +1 -0
- package/dest/kernel/padded_side_effects.js +51 -0
- package/dest/kernel/private_accumulated_data.d.ts +19 -20
- package/dest/kernel/private_accumulated_data.d.ts.map +1 -1
- package/dest/kernel/private_accumulated_data.js +5 -5
- package/dest/kernel/private_call_data.d.ts +4 -6
- package/dest/kernel/private_call_data.d.ts.map +1 -1
- package/dest/kernel/private_call_data.js +2 -2
- package/dest/kernel/private_call_request.d.ts +1 -3
- package/dest/kernel/private_call_request.d.ts.map +1 -1
- package/dest/kernel/private_call_request.js +1 -1
- package/dest/kernel/private_circuit_public_inputs.d.ts +31 -32
- package/dest/kernel/private_circuit_public_inputs.d.ts.map +1 -1
- package/dest/kernel/private_circuit_public_inputs.js +40 -22
- package/dest/kernel/private_kernel_circuit_public_inputs.d.ts +11 -4
- package/dest/kernel/private_kernel_circuit_public_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_circuit_public_inputs.js +8 -4
- package/dest/kernel/private_kernel_data.d.ts +7 -28
- package/dest/kernel/private_kernel_data.d.ts.map +1 -1
- package/dest/kernel/private_kernel_data.js +8 -19
- package/dest/kernel/private_kernel_init_circuit_private_inputs.d.ts +1 -3
- package/dest/kernel/private_kernel_init_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_inner_circuit_private_inputs.d.ts +1 -3
- package/dest/kernel/private_kernel_inner_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_prover_output.d.ts +79 -0
- package/dest/kernel/private_kernel_prover_output.d.ts.map +1 -0
- package/dest/kernel/private_kernel_prover_output.js +28 -0
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts +9 -8
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_reset_circuit_private_inputs.js +10 -6
- package/dest/kernel/private_kernel_reset_dimensions.d.ts +11 -13
- package/dest/kernel/private_kernel_reset_dimensions.d.ts.map +1 -1
- package/dest/kernel/private_kernel_reset_dimensions.js +29 -29
- package/dest/kernel/private_kernel_simulated_output.d.ts +6 -12
- package/dest/kernel/private_kernel_simulated_output.d.ts.map +1 -1
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts +20 -4
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.js +14 -6
- package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts +19 -12
- package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_tail_circuit_public_inputs.js +24 -20
- package/dest/kernel/private_log_data.d.ts +1 -4
- package/dest/kernel/private_log_data.d.ts.map +1 -1
- package/dest/kernel/private_log_data.js +4 -2
- package/dest/kernel/private_to_avm_accumulated_data.d.ts +4 -13
- package/dest/kernel/private_to_avm_accumulated_data.d.ts.map +1 -1
- package/dest/kernel/private_to_avm_accumulated_data.js +11 -0
- package/dest/kernel/private_to_public_accumulated_data.d.ts +1 -4
- package/dest/kernel/private_to_public_accumulated_data.d.ts.map +1 -1
- package/dest/kernel/private_to_public_kernel_circuit_public_inputs.d.ts +5 -7
- package/dest/kernel/private_to_public_kernel_circuit_public_inputs.d.ts.map +1 -1
- package/dest/kernel/private_to_public_kernel_circuit_public_inputs.js +9 -10
- package/dest/kernel/private_to_rollup_accumulated_data.d.ts +2 -5
- package/dest/kernel/private_to_rollup_accumulated_data.d.ts.map +1 -1
- package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.d.ts +13 -15
- package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.d.ts.map +1 -1
- package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.js +11 -12
- package/dest/kernel/private_validation_requests.d.ts +9 -24
- package/dest/kernel/private_validation_requests.d.ts.map +1 -1
- package/dest/kernel/private_validation_requests.js +10 -22
- package/dest/kernel/public_call_request.d.ts +70 -24
- package/dest/kernel/public_call_request.d.ts.map +1 -1
- package/dest/kernel/public_call_request.js +77 -20
- package/dest/kernel/utils/optional_number.d.ts +1 -3
- package/dest/kernel/utils/optional_number.d.ts.map +1 -1
- package/dest/kernel/utils/order_and_comparison.d.ts +0 -3
- package/dest/kernel/utils/order_and_comparison.d.ts.map +1 -1
- package/dest/kernel/utils/order_and_comparison.js +0 -19
- package/dest/keys/derivation.d.ts +1 -1
- package/dest/keys/derivation.d.ts.map +1 -1
- package/dest/keys/derivation.js +10 -2
- package/dest/keys/public_keys.d.ts +0 -2
- package/dest/keys/public_keys.d.ts.map +1 -1
- package/dest/keys/public_keys.js +0 -1
- package/dest/l1-contracts/index.d.ts +2 -0
- package/dest/l1-contracts/index.d.ts.map +1 -0
- package/dest/l1-contracts/index.js +1 -0
- package/dest/l1-contracts/slash_factory.d.ts +44 -0
- package/dest/l1-contracts/slash_factory.d.ts.map +1 -0
- package/dest/l1-contracts/slash_factory.js +157 -0
- package/dest/logs/contract_class_log.d.ts +54 -16
- package/dest/logs/contract_class_log.d.ts.map +1 -1
- package/dest/logs/contract_class_log.js +112 -79
- package/dest/logs/extended_contract_class_log.d.ts +0 -2
- package/dest/logs/extended_contract_class_log.d.ts.map +1 -1
- package/dest/logs/extended_public_log.d.ts +1 -3
- package/dest/logs/extended_public_log.d.ts.map +1 -1
- package/dest/logs/index.d.ts +3 -1
- package/dest/logs/index.d.ts.map +1 -1
- package/dest/logs/index.js +3 -1
- package/dest/logs/indexed_tagging_secret.d.ts.map +1 -1
- package/dest/logs/log_id.d.ts +0 -2
- package/dest/logs/log_id.d.ts.map +1 -1
- package/dest/logs/log_with_tx_data.d.ts +15 -4
- package/dest/logs/log_with_tx_data.d.ts.map +1 -1
- package/dest/logs/log_with_tx_data.js +28 -10
- package/dest/logs/message_context.d.ts +29 -0
- package/dest/logs/message_context.d.ts.map +1 -0
- package/dest/logs/message_context.js +56 -0
- package/dest/logs/pending_tagged_log.d.ts +14 -0
- package/dest/logs/pending_tagged_log.d.ts.map +1 -0
- package/dest/logs/pending_tagged_log.js +34 -0
- package/dest/logs/private_log.d.ts +16 -8
- package/dest/logs/private_log.d.ts.map +1 -1
- package/dest/logs/private_log.js +50 -22
- package/dest/logs/public_log.d.ts +10 -9
- package/dest/logs/public_log.d.ts.map +1 -1
- package/dest/logs/public_log.js +48 -29
- package/dest/logs/{l1_payload/shared_secret_derivation.d.ts → shared_secret_derivation.d.ts} +4 -3
- package/dest/logs/shared_secret_derivation.d.ts.map +1 -0
- package/dest/logs/{l1_payload/shared_secret_derivation.js → shared_secret_derivation.js} +3 -5
- package/dest/logs/tx_scoped_l2_log.d.ts +28 -33
- package/dest/logs/tx_scoped_l2_log.d.ts.map +1 -1
- package/dest/logs/tx_scoped_l2_log.js +36 -19
- package/dest/messaging/inbox_leaf.d.ts +8 -3
- package/dest/messaging/inbox_leaf.d.ts.map +1 -1
- package/dest/messaging/inbox_leaf.js +16 -2
- package/dest/messaging/index.d.ts +1 -0
- package/dest/messaging/index.d.ts.map +1 -1
- package/dest/messaging/index.js +1 -0
- package/dest/messaging/l1_actor.d.ts +0 -2
- package/dest/messaging/l1_actor.d.ts.map +1 -1
- package/dest/messaging/l1_to_l2_message.d.ts +0 -2
- package/dest/messaging/l1_to_l2_message.d.ts.map +1 -1
- package/dest/messaging/l1_to_l2_message_source.d.ts +6 -1
- package/dest/messaging/l1_to_l2_message_source.d.ts.map +1 -1
- package/dest/messaging/l2_actor.d.ts +0 -2
- package/dest/messaging/l2_actor.d.ts.map +1 -1
- package/dest/messaging/l2_to_l1_membership.d.ts +14 -0
- package/dest/messaging/l2_to_l1_membership.d.ts.map +1 -0
- package/dest/messaging/l2_to_l1_membership.js +65 -0
- package/dest/messaging/l2_to_l1_message.d.ts +110 -18
- package/dest/messaging/l2_to_l1_message.d.ts.map +1 -1
- package/dest/messaging/l2_to_l1_message.js +83 -37
- package/dest/noir/index.d.ts +8 -2
- package/dest/noir/index.d.ts.map +1 -1
- package/dest/noir/index.js +1 -0
- package/dest/note/extended_note.d.ts +24 -37
- package/dest/note/extended_note.d.ts.map +1 -1
- package/dest/note/extended_note.js +23 -32
- package/dest/note/note.d.ts +39 -6
- package/dest/note/note.d.ts.map +1 -1
- package/dest/note/note.js +51 -4
- package/dest/note/notes_filter.d.ts +7 -4
- package/dest/note/notes_filter.d.ts.map +1 -1
- package/dest/note/notes_filter.js +2 -2
- package/dest/p2p/attestation_utils.d.ts +10 -0
- package/dest/p2p/attestation_utils.d.ts.map +1 -0
- package/dest/p2p/attestation_utils.js +21 -0
- package/dest/p2p/block_attestation.d.ts +51 -13
- package/dest/p2p/block_attestation.d.ts.map +1 -1
- package/dest/p2p/block_attestation.js +45 -23
- package/dest/p2p/block_proposal.d.ts +24 -10
- package/dest/p2p/block_proposal.d.ts.map +1 -1
- package/dest/p2p/block_proposal.js +47 -20
- package/dest/p2p/consensus_payload.d.ts +215 -20
- package/dest/p2p/consensus_payload.d.ts.map +1 -1
- package/dest/p2p/consensus_payload.js +46 -25
- package/dest/p2p/gossipable.d.ts +18 -17
- package/dest/p2p/gossipable.d.ts.map +1 -1
- package/dest/p2p/gossipable.js +35 -4
- package/dest/p2p/index.d.ts +1 -0
- package/dest/p2p/index.d.ts.map +1 -1
- package/dest/p2p/index.js +1 -0
- package/dest/p2p/interface.d.ts +0 -13
- package/dest/p2p/interface.d.ts.map +1 -1
- package/dest/p2p/interface.js +1 -19
- package/dest/p2p/signature_utils.d.ts +5 -6
- package/dest/p2p/signature_utils.d.ts.map +1 -1
- package/dest/p2p/signature_utils.js +5 -4
- package/dest/p2p/topic_type.d.ts +6 -9
- package/dest/p2p/topic_type.d.ts.map +1 -1
- package/dest/p2p/topic_type.js +35 -15
- package/dest/parity/base_parity_inputs.d.ts +2 -4
- package/dest/parity/base_parity_inputs.d.ts.map +1 -1
- package/dest/parity/parity_public_inputs.d.ts +2 -4
- package/dest/parity/parity_public_inputs.d.ts.map +1 -1
- package/dest/parity/root_parity_input.d.ts +4 -6
- package/dest/parity/root_parity_input.d.ts.map +1 -1
- package/dest/parity/root_parity_inputs.d.ts +2 -4
- package/dest/parity/root_parity_inputs.d.ts.map +1 -1
- package/dest/proofs/client_ivc_proof.d.ts +3 -6
- package/dest/proofs/client_ivc_proof.d.ts.map +1 -1
- package/dest/proofs/client_ivc_proof.js +6 -9
- package/dest/proofs/proof.d.ts +5 -6
- package/dest/proofs/proof.d.ts.map +1 -1
- package/dest/proofs/proof.js +28 -20
- package/dest/proofs/proving_request_type.d.ts +8 -7
- package/dest/proofs/proving_request_type.d.ts.map +1 -1
- package/dest/proofs/proving_request_type.js +8 -7
- package/dest/proofs/recursive_proof.d.ts +4 -6
- package/dest/proofs/recursive_proof.d.ts.map +1 -1
- package/dest/rollup/avm_proof_data.d.ts +8 -8
- package/dest/rollup/avm_proof_data.d.ts.map +1 -1
- package/dest/rollup/avm_proof_data.js +12 -4
- package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts +5 -16
- package/dest/rollup/base_or_merge_rollup_public_inputs.d.ts.map +1 -1
- package/dest/rollup/base_or_merge_rollup_public_inputs.js +4 -9
- package/dest/rollup/base_rollup_hints.d.ts +21 -22
- package/dest/rollup/base_rollup_hints.d.ts.map +1 -1
- package/dest/rollup/base_rollup_hints.js +20 -19
- package/dest/rollup/block_constant_data.d.ts +37 -0
- package/dest/rollup/block_constant_data.d.ts.map +1 -0
- package/dest/rollup/{constant_rollup_data.js → block_constant_data.js} +10 -13
- package/dest/rollup/block_merge_rollup.d.ts +2 -4
- package/dest/rollup/block_merge_rollup.d.ts.map +1 -1
- package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts +23 -48
- package/dest/rollup/block_root_or_block_merge_public_inputs.d.ts.map +1 -1
- package/dest/rollup/block_root_or_block_merge_public_inputs.js +12 -23
- package/dest/rollup/block_root_rollup.d.ts +40 -19
- package/dest/rollup/block_root_rollup.d.ts.map +1 -1
- package/dest/rollup/block_root_rollup.js +20 -7
- package/dest/rollup/empty_block_root_rollup_inputs.d.ts +6 -9
- package/dest/rollup/empty_block_root_rollup_inputs.d.ts.map +1 -1
- package/dest/rollup/empty_block_root_rollup_inputs.js +4 -7
- package/dest/rollup/epoch_constant_data.d.ts +39 -0
- package/dest/rollup/epoch_constant_data.d.ts.map +1 -0
- package/dest/rollup/epoch_constant_data.js +40 -0
- package/dest/rollup/index.d.ts +3 -1
- package/dest/rollup/index.d.ts.map +1 -1
- package/dest/rollup/index.js +3 -1
- package/dest/rollup/merge_rollup.d.ts +2 -4
- package/dest/rollup/merge_rollup.d.ts.map +1 -1
- package/dest/rollup/padding_block_root_rollup_inputs.d.ts +20 -0
- package/dest/rollup/padding_block_root_rollup_inputs.d.ts.map +1 -0
- package/dest/rollup/padding_block_root_rollup_inputs.js +39 -0
- package/dest/rollup/previous_rollup_block_data.d.ts +6 -17
- package/dest/rollup/previous_rollup_block_data.d.ts.map +1 -1
- package/dest/rollup/previous_rollup_block_data.js +8 -13
- package/dest/rollup/previous_rollup_data.d.ts +6 -17
- package/dest/rollup/previous_rollup_data.d.ts.map +1 -1
- package/dest/rollup/previous_rollup_data.js +8 -13
- package/dest/rollup/private_base_rollup_inputs.d.ts +2 -4
- package/dest/rollup/private_base_rollup_inputs.d.ts.map +1 -1
- package/dest/rollup/private_tube_data.d.ts +4 -6
- package/dest/rollup/private_tube_data.d.ts.map +1 -1
- package/dest/rollup/private_tube_data.js +3 -3
- package/dest/rollup/public_base_rollup_inputs.d.ts +2 -4
- package/dest/rollup/public_base_rollup_inputs.d.ts.map +1 -1
- package/dest/rollup/public_tube_data.d.ts +4 -6
- package/dest/rollup/public_tube_data.d.ts.map +1 -1
- package/dest/rollup/public_tube_data.js +3 -3
- package/dest/rollup/root_rollup.d.ts +21 -27
- package/dest/rollup/root_rollup.d.ts.map +1 -1
- package/dest/rollup/root_rollup.js +23 -34
- package/dest/rollup/state_diff_hints.d.ts +0 -2
- package/dest/rollup/state_diff_hints.d.ts.map +1 -1
- package/dest/rollup/tube_inputs.d.ts +9 -6
- package/dest/rollup/tube_inputs.d.ts.map +1 -1
- package/dest/rollup/tube_inputs.js +10 -4
- package/dest/schemas/schemas.d.ts +6 -6
- package/dest/schemas/schemas.d.ts.map +1 -1
- package/dest/schemas/schemas.js +1 -0
- package/dest/slashing/empire.d.ts +31 -0
- package/dest/slashing/empire.d.ts.map +1 -0
- package/dest/slashing/empire.js +84 -0
- package/dest/slashing/helpers.d.ts +35 -0
- package/dest/slashing/helpers.d.ts.map +1 -0
- package/dest/slashing/helpers.js +89 -0
- package/dest/slashing/index.d.ts +7 -0
- package/dest/slashing/index.d.ts.map +1 -0
- package/dest/slashing/index.js +6 -0
- package/dest/slashing/interfaces.d.ts +11 -0
- package/dest/slashing/interfaces.d.ts.map +1 -0
- package/dest/slashing/interfaces.js +1 -0
- package/dest/slashing/serialization.d.ts +8 -0
- package/dest/slashing/serialization.d.ts.map +1 -0
- package/dest/slashing/serialization.js +78 -0
- package/dest/slashing/tally.d.ts +23 -0
- package/dest/slashing/tally.d.ts.map +1 -0
- package/dest/slashing/tally.js +60 -0
- package/dest/slashing/types.d.ts +162 -0
- package/dest/slashing/types.d.ts.map +1 -0
- package/dest/slashing/types.js +88 -0
- package/dest/snapshots/download.d.ts +9 -0
- package/dest/snapshots/download.d.ts.map +1 -0
- package/dest/snapshots/download.js +93 -0
- package/dest/snapshots/index.d.ts +4 -0
- package/dest/snapshots/index.d.ts.map +1 -0
- package/dest/snapshots/index.js +3 -0
- package/dest/snapshots/types.d.ts +120 -0
- package/dest/snapshots/types.d.ts.map +1 -0
- package/dest/snapshots/types.js +35 -0
- package/dest/snapshots/upload.d.ts +8 -0
- package/dest/snapshots/upload.d.ts.map +1 -0
- package/dest/snapshots/upload.js +42 -0
- package/dest/stats/stats.d.ts +7 -7
- package/dest/stats/stats.d.ts.map +1 -1
- package/dest/tests/factories.d.ts +40 -31
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +272 -167
- package/dest/tests/mocks.d.ts +27 -9
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +113 -78
- package/dest/trees/append_only_tree_snapshot.d.ts +7 -6
- package/dest/trees/append_only_tree_snapshot.d.ts.map +1 -1
- package/dest/trees/append_only_tree_snapshot.js +17 -2
- package/dest/trees/database_public_state_source.d.ts +11 -0
- package/dest/trees/database_public_state_source.d.ts.map +1 -0
- package/dest/trees/database_public_state_source.js +18 -0
- package/dest/trees/index.d.ts +1 -0
- package/dest/trees/index.d.ts.map +1 -1
- package/dest/trees/index.js +1 -0
- package/dest/trees/merkle_tree_id.d.ts +8 -0
- package/dest/trees/merkle_tree_id.d.ts.map +1 -1
- package/dest/trees/merkle_tree_id.js +10 -0
- package/dest/trees/nullifier_leaf.d.ts +49 -17
- package/dest/trees/nullifier_leaf.d.ts.map +1 -1
- package/dest/trees/nullifier_leaf.js +45 -22
- package/dest/trees/nullifier_membership_witness.d.ts +38 -19
- package/dest/trees/nullifier_membership_witness.d.ts.map +1 -1
- package/dest/trees/nullifier_membership_witness.js +14 -1
- package/dest/trees/protocol_contract_leaf.d.ts +0 -3
- package/dest/trees/protocol_contract_leaf.d.ts.map +1 -1
- package/dest/trees/protocol_contract_leaf.js +0 -3
- package/dest/trees/public_data_leaf.d.ts +60 -28
- package/dest/trees/public_data_leaf.d.ts.map +1 -1
- package/dest/trees/public_data_leaf.js +41 -30
- package/dest/trees/public_data_witness.d.ts +47 -30
- package/dest/trees/public_data_witness.d.ts.map +1 -1
- package/dest/trees/public_data_witness.js +20 -4
- package/dest/tx/block_header.d.ts +5 -6
- package/dest/tx/block_header.d.ts.map +1 -1
- package/dest/tx/block_header.js +13 -7
- package/dest/tx/call_context.d.ts +1 -4
- package/dest/tx/call_context.d.ts.map +1 -1
- package/dest/tx/capsule.d.ts +3 -3
- package/dest/tx/capsule.d.ts.map +1 -1
- package/dest/tx/capsule.js +2 -0
- package/dest/tx/content_commitment.d.ts +24 -81
- package/dest/tx/content_commitment.d.ts.map +1 -1
- package/dest/tx/content_commitment.js +39 -53
- package/dest/tx/function_data.d.ts +0 -2
- package/dest/tx/function_data.d.ts.map +1 -1
- package/dest/tx/global_variable_builder.d.ts +2 -2
- package/dest/tx/global_variable_builder.d.ts.map +1 -1
- package/dest/tx/global_variables.d.ts +29 -31
- package/dest/tx/global_variables.d.ts.map +1 -1
- package/dest/tx/global_variables.js +25 -16
- package/dest/tx/hashed_values.d.ts +17 -7
- package/dest/tx/hashed_values.d.ts.map +1 -1
- package/dest/tx/hashed_values.js +26 -9
- package/dest/tx/index.d.ts +7 -2
- package/dest/tx/index.d.ts.map +1 -1
- package/dest/tx/index.js +7 -2
- package/dest/tx/indexed_tx_effect.d.ts +27 -0
- package/dest/tx/indexed_tx_effect.d.ts.map +1 -0
- package/dest/tx/indexed_tx_effect.js +32 -0
- package/dest/tx/offchain_effect.d.ts +14 -0
- package/dest/tx/offchain_effect.d.ts.map +1 -0
- package/dest/tx/offchain_effect.js +4 -0
- package/dest/tx/partial_state_reference.d.ts +10 -3
- package/dest/tx/partial_state_reference.d.ts.map +1 -1
- package/dest/tx/partial_state_reference.js +22 -2
- package/dest/tx/private_execution_result.d.ts +50 -35
- package/dest/tx/private_execution_result.d.ts.map +1 -1
- package/dest/tx/private_execution_result.js +61 -77
- package/dest/tx/processed_tx.d.ts +4 -5
- package/dest/tx/processed_tx.d.ts.map +1 -1
- package/dest/tx/processed_tx.js +22 -15
- package/dest/tx/profiling.d.ts +360 -0
- package/dest/tx/profiling.d.ts.map +1 -0
- package/dest/tx/profiling.js +131 -0
- package/dest/tx/proposed_block_header.d.ts +84 -0
- package/dest/tx/proposed_block_header.d.ts.map +1 -0
- package/dest/tx/proposed_block_header.js +154 -0
- package/dest/tx/proven_tx.d.ts +129 -0
- package/dest/tx/proven_tx.d.ts.map +1 -0
- package/dest/tx/proven_tx.js +45 -0
- package/dest/tx/public_call_request_with_calldata.d.ts +38 -0
- package/dest/tx/public_call_request_with_calldata.d.ts.map +1 -0
- package/dest/tx/public_call_request_with_calldata.js +57 -0
- package/dest/tx/public_simulation_output.d.ts +3 -3
- package/dest/tx/public_simulation_output.d.ts.map +1 -1
- package/dest/tx/public_simulation_output.js +7 -7
- package/dest/tx/simulated_tx.d.ts +169 -45
- package/dest/tx/simulated_tx.d.ts.map +1 -1
- package/dest/tx/simulated_tx.js +51 -46
- package/dest/tx/state_reference.d.ts +10 -4
- package/dest/tx/state_reference.d.ts.map +1 -1
- package/dest/tx/state_reference.js +38 -5
- package/dest/tx/tree_snapshots.d.ts +11 -14
- package/dest/tx/tree_snapshots.d.ts.map +1 -1
- package/dest/tx/tree_snapshots.js +3 -3
- package/dest/tx/tx.d.ts +54 -84
- package/dest/tx/tx.d.ts.map +1 -1
- package/dest/tx/tx.js +132 -140
- package/dest/tx/tx_constant_data.d.ts +1 -3
- package/dest/tx/tx_constant_data.d.ts.map +1 -1
- package/dest/tx/tx_context.d.ts +33 -35
- package/dest/tx/tx_context.d.ts.map +1 -1
- package/dest/tx/tx_effect.d.ts +3 -6
- package/dest/tx/tx_effect.d.ts.map +1 -1
- package/dest/tx/tx_effect.js +40 -83
- package/dest/tx/tx_execution_request.d.ts +13 -6
- package/dest/tx/tx_execution_request.d.ts.map +1 -1
- package/dest/tx/tx_execution_request.js +16 -9
- package/dest/tx/tx_hash.d.ts +11 -4
- package/dest/tx/tx_hash.d.ts.map +1 -1
- package/dest/tx/tx_hash.js +24 -5
- package/dest/tx/tx_receipt.d.ts +1 -30
- package/dest/tx/tx_receipt.d.ts.map +1 -1
- package/dest/tx/tx_receipt.js +4 -14
- package/dest/tx/tx_request.d.ts +11 -9
- package/dest/tx/tx_request.d.ts.map +1 -1
- package/dest/tx/tx_request.js +11 -8
- package/dest/tx/validator/error_texts.d.ts +24 -0
- package/dest/tx/validator/error_texts.d.ts.map +1 -0
- package/dest/tx/validator/error_texts.js +31 -0
- package/dest/tx/validator/tx_validator.d.ts +6 -4
- package/dest/tx/validator/tx_validator.d.ts.map +1 -1
- package/dest/tx/validator/tx_validator.js +3 -0
- package/dest/types/shared.d.ts +9 -11
- package/dest/types/shared.d.ts.map +1 -1
- package/dest/types/shared.js +0 -8
- package/dest/update-checker/index.d.ts +2 -0
- package/dest/update-checker/index.d.ts.map +1 -0
- package/dest/update-checker/index.js +1 -0
- package/dest/update-checker/update-checker.d.ts +50 -0
- package/dest/update-checker/update-checker.d.ts.map +1 -0
- package/dest/update-checker/update-checker.js +130 -0
- package/dest/validators/errors.d.ts +34 -0
- package/dest/validators/errors.d.ts.map +1 -0
- package/dest/validators/errors.js +47 -0
- package/dest/validators/index.d.ts +4 -0
- package/dest/validators/index.d.ts.map +1 -0
- package/dest/validators/index.js +2 -0
- package/dest/validators/schemas.d.ts +592 -0
- package/dest/validators/schemas.d.ts.map +1 -0
- package/dest/validators/schemas.js +52 -0
- package/dest/validators/types.d.ts +52 -0
- package/dest/validators/types.d.ts.map +1 -0
- package/dest/validators/types.js +1 -0
- package/dest/versioning/versioning.d.ts +2 -2
- package/dest/versioning/versioning.d.ts.map +1 -1
- package/dest/versioning/versioning.js +6 -6
- package/dest/vks/index.d.ts +1 -1
- package/dest/vks/index.d.ts.map +1 -1
- package/dest/vks/index.js +1 -1
- package/dest/vks/verification_key.d.ts +8 -12
- package/dest/vks/verification_key.d.ts.map +1 -1
- package/dest/vks/verification_key.js +9 -11
- package/dest/vks/{vk_witness_data.d.ts → vk_data.d.ts} +9 -11
- package/dest/vks/vk_data.d.ts.map +1 -0
- package/dest/vks/{vk_witness_data.js → vk_data.js} +10 -10
- package/dest/zkpassport/index.d.ts +37 -0
- package/dest/zkpassport/index.d.ts.map +1 -0
- package/dest/zkpassport/index.js +87 -0
- package/package.json +38 -23
- package/src/abi/abi.ts +95 -65
- package/src/abi/authorization_selector.ts +95 -0
- package/src/abi/contract_artifact.ts +88 -60
- package/src/abi/decoder.ts +18 -13
- package/src/abi/encoder.ts +88 -3
- package/src/abi/index.ts +1 -0
- package/src/abi/utils.ts +15 -0
- package/src/auth_witness/auth_witness.ts +29 -0
- package/src/avm/avm.ts +441 -123
- package/src/avm/avm_accumulated_data.ts +123 -2
- package/src/avm/avm_circuit_public_inputs.ts +59 -3
- package/src/avm/message_pack.ts +8 -1
- package/src/avm/public_data_write.ts +25 -1
- package/src/avm/public_inner_call_request.ts +1 -1
- package/src/avm/revert_code.ts +5 -5
- package/src/block/attestation_info.ts +62 -0
- package/src/block/block_hash.ts +14 -0
- package/src/block/body.ts +18 -13
- package/src/block/in_block.ts +6 -6
- package/src/block/index.ts +6 -2
- package/src/block/l2_block.ts +37 -67
- package/src/block/l2_block_code_to_purge.ts +8 -24
- package/src/block/l2_block_info.ts +63 -0
- package/src/block/l2_block_source.ts +100 -13
- package/src/block/l2_block_stream/index.ts +3 -0
- package/src/block/l2_block_stream/interfaces.ts +33 -0
- package/src/block/{l2_block_downloader → l2_block_stream}/l2_block_stream.ts +81 -58
- package/src/block/l2_block_stream/l2_tips_memory_store.ts +75 -0
- package/src/block/proposal/attestations_and_signers.ts +121 -0
- package/src/block/proposal/committee_attestation.ts +124 -0
- package/src/block/proposal/index.ts +2 -0
- package/src/block/published_l2_block.ts +82 -0
- package/src/block/test/index.ts +1 -0
- package/src/block/test/l2_tips_store_test_suite.ts +88 -0
- package/src/block/validate_block_result.ts +122 -0
- package/src/config/{config.ts → chain-config.ts} +8 -7
- package/src/config/index.ts +2 -1
- package/src/config/node-rpc-config.ts +28 -0
- package/src/contract/artifact_hash.ts +14 -12
- package/src/contract/contract_class.ts +7 -24
- package/src/contract/contract_class_id.ts +10 -4
- package/src/contract/contract_instance.ts +16 -8
- package/src/contract/contract_instance_update.ts +7 -6
- package/src/contract/index.ts +1 -1
- package/src/contract/interfaces/contract_class.ts +23 -35
- package/src/contract/interfaces/contract_data_source.ts +11 -20
- package/src/contract/interfaces/contract_instance_update.ts +4 -3
- package/src/contract/interfaces/node-info.ts +3 -3
- package/src/contract/interfaces/protocol_contract_addresses.ts +5 -10
- package/src/contract/private_function.ts +4 -2
- package/src/contract/private_function_membership_proof.ts +7 -7
- package/src/contract/{unconstrained_function_membership_proof.ts → utility_function_membership_proof.ts} +18 -18
- package/src/database-version/version_manager.ts +78 -25
- package/src/{shared_mutable/shared_mutable_values.ts → delayed_public_mutable/delayed_public_mutable_values.ts} +23 -20
- package/src/delayed_public_mutable/delayed_public_mutable_values_with_hash.ts +38 -0
- package/src/delayed_public_mutable/index.ts +4 -0
- package/src/delayed_public_mutable/scheduled_delay_change.ts +17 -0
- package/src/{shared_mutable → delayed_public_mutable}/scheduled_value_change.ts +11 -5
- package/src/epoch-helpers/index.ts +61 -2
- package/src/errors/proving_error.ts +5 -1
- package/src/errors/simulation_error.ts +2 -2
- package/src/fees/transaction_fee.ts +28 -8
- package/src/file-store/factory.ts +76 -0
- package/src/file-store/gcs.ts +121 -0
- package/src/file-store/http.ts +67 -0
- package/src/file-store/index.ts +2 -0
- package/src/file-store/interface.ts +25 -0
- package/src/file-store/local.ts +46 -0
- package/src/file-store/s3.ts +254 -0
- package/src/gas/gas.ts +9 -2
- package/src/gas/gas_fees.ts +27 -23
- package/src/gas/gas_settings.ts +11 -9
- package/src/hash/hash.ts +49 -27
- package/src/interfaces/allowed_element.ts +21 -0
- package/src/interfaces/api_limit.ts +3 -0
- package/src/interfaces/archiver.ts +67 -25
- package/src/interfaces/aztec-node-admin.ts +99 -0
- package/src/interfaces/aztec-node.ts +191 -141
- package/src/interfaces/block-builder.ts +52 -2
- package/src/interfaces/client.ts +2 -0
- package/src/interfaces/configs.ts +26 -18
- package/src/interfaces/epoch-prover.ts +12 -6
- package/src/interfaces/l2_logs_source.ts +2 -1
- package/src/interfaces/merkle_tree_operations.ts +24 -8
- package/src/interfaces/p2p.ts +29 -4
- package/src/interfaces/private_kernel_prover.ts +12 -3
- package/src/interfaces/prover-agent.ts +9 -10
- package/src/interfaces/prover-client.ts +16 -11
- package/src/interfaces/prover-coordination.ts +6 -16
- package/src/interfaces/prover-node.ts +10 -2
- package/src/interfaces/proving-job.ts +24 -3
- package/src/interfaces/public_state_source.ts +9 -0
- package/src/interfaces/pxe.ts +87 -82
- package/src/interfaces/server.ts +11 -5
- package/src/interfaces/server_circuit_prover.ts +27 -3
- package/src/interfaces/service.ts +4 -2
- package/src/interfaces/slasher.ts +50 -0
- package/src/interfaces/tx_provider.ts +17 -0
- package/src/interfaces/validator.ts +93 -0
- package/src/interfaces/world_state.ts +27 -19
- package/src/kernel/claimed_length_array.ts +104 -0
- package/src/kernel/hiding_kernel_private_inputs.ts +37 -0
- package/src/kernel/hints/build_note_hash_read_request_hints.ts +28 -30
- package/src/kernel/hints/build_nullifier_read_request_hints.ts +28 -59
- package/src/kernel/hints/build_transient_data_hints.ts +12 -14
- package/src/kernel/hints/find_private_kernel_reset_dimensions.ts +3 -3
- package/src/kernel/hints/index.ts +1 -2
- package/src/kernel/hints/key_validation_hint.ts +4 -6
- package/src/kernel/hints/note_hash_read_request_hints.ts +8 -17
- package/src/kernel/hints/nullifier_read_request_hints.ts +8 -17
- package/src/kernel/hints/private_kernel_reset_hints.ts +37 -46
- package/src/kernel/hints/read_request.ts +4 -1
- package/src/kernel/hints/read_request_hints.ts +59 -38
- package/src/kernel/hints/{transient_data_index_hint.ts → transient_data_squashing_hint.ts} +9 -6
- package/src/kernel/hints/tree_leaf_read_request.ts +4 -1
- package/src/kernel/index.ts +4 -2
- package/src/kernel/log_hash.ts +86 -14
- package/src/kernel/note_hash.ts +8 -2
- package/src/kernel/nullifier.ts +9 -2
- package/src/kernel/padded_side_effects.ts +73 -0
- package/src/kernel/private_accumulated_data.ts +25 -25
- package/src/kernel/private_call_data.ts +3 -3
- package/src/kernel/private_call_request.ts +1 -1
- package/src/kernel/private_circuit_public_inputs.ts +96 -72
- package/src/kernel/private_kernel_circuit_public_inputs.ts +9 -1
- package/src/kernel/private_kernel_data.ts +7 -29
- package/src/kernel/private_kernel_prover_output.ts +70 -0
- package/src/kernel/private_kernel_reset_circuit_private_inputs.ts +16 -13
- package/src/kernel/private_kernel_reset_dimensions.ts +27 -27
- package/src/kernel/private_kernel_simulated_output.ts +7 -16
- package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +22 -5
- package/src/kernel/private_kernel_tail_circuit_public_inputs.ts +33 -22
- package/src/kernel/private_log_data.ts +13 -4
- package/src/kernel/private_to_avm_accumulated_data.ts +18 -1
- package/src/kernel/private_to_public_kernel_circuit_public_inputs.ts +7 -7
- package/src/kernel/private_to_rollup_kernel_circuit_public_inputs.ts +16 -10
- package/src/kernel/private_validation_requests.ts +20 -51
- package/src/kernel/public_call_request.ts +92 -28
- package/src/kernel/utils/order_and_comparison.ts +0 -25
- package/src/keys/derivation.ts +12 -6
- package/src/keys/public_keys.ts +1 -1
- package/src/l1-contracts/index.ts +1 -0
- package/src/l1-contracts/slash_factory.ts +177 -0
- package/src/logs/contract_class_log.ts +135 -64
- package/src/logs/index.ts +3 -1
- package/src/logs/indexed_tagging_secret.ts +4 -1
- package/src/logs/log_with_tx_data.ts +29 -9
- package/src/logs/message_context.ts +62 -0
- package/src/logs/pending_tagged_log.ts +41 -0
- package/src/logs/private_log.ts +60 -24
- package/src/logs/public_log.ts +66 -28
- package/src/logs/{l1_payload/shared_secret_derivation.ts → shared_secret_derivation.ts} +4 -11
- package/src/logs/tx_scoped_l2_log.ts +37 -25
- package/src/messaging/inbox_leaf.ts +17 -2
- package/src/messaging/index.ts +1 -0
- package/src/messaging/l1_to_l2_message_source.ts +8 -1
- package/src/messaging/l2_to_l1_membership.ts +104 -0
- package/src/messaging/l2_to_l1_message.ts +105 -40
- package/src/noir/index.ts +8 -2
- package/src/note/extended_note.ts +22 -41
- package/src/note/note.ts +61 -5
- package/src/note/notes_filter.ts +9 -6
- package/src/p2p/attestation_utils.ts +35 -0
- package/src/p2p/block_attestation.ts +54 -26
- package/src/p2p/block_proposal.ts +61 -19
- package/src/p2p/consensus_payload.ts +61 -29
- package/src/p2p/gossipable.ts +41 -15
- package/src/p2p/index.ts +1 -0
- package/src/p2p/interface.ts +0 -24
- package/src/p2p/signature_utils.ts +7 -9
- package/src/p2p/topic_type.ts +32 -13
- package/src/proofs/client_ivc_proof.ts +5 -15
- package/src/proofs/proof.ts +29 -21
- package/src/proofs/proving_request_type.ts +1 -0
- package/src/rollup/avm_proof_data.ts +14 -7
- package/src/rollup/base_or_merge_rollup_public_inputs.ts +4 -12
- package/src/rollup/base_rollup_hints.ts +21 -20
- package/src/rollup/block_constant_data.ts +63 -0
- package/src/rollup/block_root_or_block_merge_public_inputs.ts +20 -34
- package/src/rollup/block_root_rollup.ts +23 -5
- package/src/rollup/empty_block_root_rollup_inputs.ts +4 -9
- package/src/rollup/epoch_constant_data.ts +44 -0
- package/src/rollup/index.ts +3 -1
- package/src/rollup/padding_block_root_rollup_inputs.ts +47 -0
- package/src/rollup/previous_rollup_block_data.ts +6 -12
- package/src/rollup/previous_rollup_data.ts +6 -12
- package/src/rollup/private_base_rollup_inputs.ts +4 -1
- package/src/rollup/private_tube_data.ts +4 -4
- package/src/rollup/public_tube_data.ts +4 -4
- package/src/rollup/root_rollup.ts +26 -37
- package/src/rollup/tube_inputs.ts +11 -4
- package/src/schemas/schemas.ts +3 -0
- package/src/slashing/empire.ts +100 -0
- package/src/slashing/helpers.ts +136 -0
- package/src/slashing/index.ts +6 -0
- package/src/slashing/interfaces.ts +11 -0
- package/src/slashing/serialization.ts +103 -0
- package/src/slashing/tally.ts +87 -0
- package/src/slashing/types.ts +152 -0
- package/src/snapshots/download.ts +123 -0
- package/src/snapshots/index.ts +3 -0
- package/src/snapshots/types.ts +70 -0
- package/src/snapshots/upload.ts +64 -0
- package/src/stats/stats.ts +8 -5
- package/src/tests/factories.ts +468 -282
- package/src/tests/mocks.ts +178 -109
- package/src/trees/append_only_tree_snapshot.ts +18 -2
- package/src/trees/database_public_state_source.ts +30 -0
- package/src/trees/index.ts +1 -0
- package/src/trees/merkle_tree_id.ts +12 -0
- package/src/trees/nullifier_leaf.ts +48 -21
- package/src/trees/nullifier_membership_witness.ts +17 -1
- package/src/trees/protocol_contract_leaf.ts +0 -4
- package/src/trees/public_data_leaf.ts +40 -29
- package/src/trees/public_data_witness.ts +23 -4
- package/src/tx/block_header.ts +24 -7
- package/src/tx/capsule.ts +2 -0
- package/src/tx/content_commitment.ts +48 -77
- package/src/tx/global_variable_builder.ts +2 -2
- package/src/tx/global_variables.ts +38 -22
- package/src/tx/hashed_values.ts +29 -9
- package/src/tx/index.ts +7 -2
- package/src/tx/indexed_tx_effect.ts +39 -0
- package/src/tx/offchain_effect.ts +20 -0
- package/src/tx/partial_state_reference.ts +37 -4
- package/src/tx/private_execution_result.ts +63 -88
- package/src/tx/processed_tx.ts +36 -24
- package/src/tx/profiling.ts +163 -0
- package/src/tx/proposed_block_header.ts +225 -0
- package/src/tx/proven_tx.ts +62 -0
- package/src/tx/public_call_request_with_calldata.ts +72 -0
- package/src/tx/public_simulation_output.ts +5 -5
- package/src/tx/simulated_tx.ts +65 -75
- package/src/tx/state_reference.ts +54 -5
- package/src/tx/tree_snapshots.ts +13 -13
- package/src/tx/tx.ts +142 -182
- package/src/tx/tx_effect.ts +86 -102
- package/src/tx/tx_execution_request.ts +14 -3
- package/src/tx/tx_hash.ts +26 -5
- package/src/tx/tx_receipt.ts +1 -37
- package/src/tx/tx_request.ts +16 -6
- package/src/tx/validator/error_texts.ts +38 -0
- package/src/tx/validator/tx_validator.ts +5 -0
- package/src/types/shared.ts +10 -9
- package/src/update-checker/index.ts +1 -0
- package/src/update-checker/update-checker.ts +165 -0
- package/src/validators/errors.ts +59 -0
- package/src/validators/index.ts +3 -0
- package/src/validators/schemas.ts +75 -0
- package/src/validators/types.ts +46 -0
- package/src/versioning/versioning.ts +9 -18
- package/src/vks/index.ts +1 -1
- package/src/vks/verification_key.ts +18 -18
- package/src/vks/{vk_witness_data.ts → vk_data.ts} +6 -6
- package/src/zkpassport/index.ts +127 -0
- package/dest/block/l2_block_downloader/index.d.ts +0 -3
- package/dest/block/l2_block_downloader/index.d.ts.map +0 -1
- package/dest/block/l2_block_downloader/index.js +0 -2
- package/dest/block/l2_block_downloader/l2_block_downloader.d.ts +0 -58
- package/dest/block/l2_block_downloader/l2_block_downloader.d.ts.map +0 -1
- package/dest/block/l2_block_downloader/l2_block_downloader.js +0 -124
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts +0 -57
- package/dest/block/l2_block_downloader/l2_block_stream.d.ts.map +0 -1
- package/dest/block/nullifier_with_block_source.d.ts +0 -6
- package/dest/block/nullifier_with_block_source.d.ts.map +0 -1
- package/dest/config/config.d.ts.map +0 -1
- package/dest/contract/unconstrained_function_membership_proof.d.ts +0 -27
- package/dest/contract/unconstrained_function_membership_proof.d.ts.map +0 -1
- package/dest/event/event.d.ts +0 -24
- package/dest/event/event.d.ts.map +0 -1
- package/dest/event/event.js +0 -13
- package/dest/event/event_metadata.d.ts +0 -38
- package/dest/event/event_metadata.d.ts.map +0 -1
- package/dest/event/event_metadata.js +0 -45
- package/dest/event/index.d.ts +0 -4
- package/dest/event/index.d.ts.map +0 -1
- package/dest/event/index.js +0 -3
- package/dest/event/l1_event_payload.d.ts +0 -52
- package/dest/event/l1_event_payload.d.ts.map +0 -1
- package/dest/event/l1_event_payload.js +0 -64
- package/dest/kernel/combined_constant_data.d.ts +0 -73
- package/dest/kernel/combined_constant_data.d.ts.map +0 -1
- package/dest/kernel/combined_constant_data.js +0 -73
- package/dest/kernel/hints/rollup_validation_requests.d.ts +0 -40
- package/dest/kernel/hints/rollup_validation_requests.d.ts.map +0 -1
- package/dest/kernel/hints/rollup_validation_requests.js +0 -57
- package/dest/kernel/hints/transient_data_index_hint.d.ts.map +0 -1
- package/dest/kernel/private_kernel_prover_profile_result.d.ts +0 -25
- package/dest/kernel/private_kernel_prover_profile_result.d.ts.map +0 -1
- package/dest/kernel/private_kernel_prover_profile_result.js +0 -7
- package/dest/logs/l1_payload/encrypted_log_payload.d.ts +0 -50
- package/dest/logs/l1_payload/encrypted_log_payload.d.ts.map +0 -1
- package/dest/logs/l1_payload/encrypted_log_payload.js +0 -140
- package/dest/logs/l1_payload/encryption_util.d.ts +0 -24
- package/dest/logs/l1_payload/encryption_util.d.ts.map +0 -1
- package/dest/logs/l1_payload/encryption_util.js +0 -46
- package/dest/logs/l1_payload/index.d.ts +0 -3
- package/dest/logs/l1_payload/index.d.ts.map +0 -1
- package/dest/logs/l1_payload/index.js +0 -2
- package/dest/logs/l1_payload/l1_note_payload.d.ts +0 -82
- package/dest/logs/l1_payload/l1_note_payload.d.ts.map +0 -1
- package/dest/logs/l1_payload/l1_note_payload.js +0 -129
- package/dest/logs/l1_payload/payload.d.ts +0 -60
- package/dest/logs/l1_payload/payload.d.ts.map +0 -1
- package/dest/logs/l1_payload/payload.js +0 -61
- package/dest/logs/l1_payload/shared_secret_derivation.d.ts.map +0 -1
- package/dest/network/index.d.ts +0 -32
- package/dest/network/index.d.ts.map +0 -1
- package/dest/network/index.js +0 -30
- package/dest/rollup/constant_rollup_data.d.ts +0 -47
- package/dest/rollup/constant_rollup_data.d.ts.map +0 -1
- package/dest/shared_mutable/index.d.ts +0 -5
- package/dest/shared_mutable/index.d.ts.map +0 -1
- package/dest/shared_mutable/index.js +0 -4
- package/dest/shared_mutable/scheduled_delay_change.d.ts +0 -10
- package/dest/shared_mutable/scheduled_delay_change.d.ts.map +0 -1
- package/dest/shared_mutable/scheduled_value_change.d.ts +0 -11
- package/dest/shared_mutable/scheduled_value_change.d.ts.map +0 -1
- package/dest/shared_mutable/shared_mutable_values.d.ts +0 -22
- package/dest/shared_mutable/shared_mutable_values.d.ts.map +0 -1
- package/dest/shared_mutable/shared_mutable_values_with_hash.d.ts.map +0 -1
- package/dest/shared_mutable/shared_mutable_values_with_hash.js +0 -30
- package/dest/tx/max_block_number.d.ts +0 -55
- package/dest/tx/max_block_number.d.ts.map +0 -1
- package/dest/tx/max_block_number.js +0 -65
- package/dest/tx/public_execution_request.d.ts +0 -45
- package/dest/tx/public_execution_request.d.ts.map +0 -1
- package/dest/tx/public_execution_request.js +0 -72
- package/dest/vks/vk_witness_data.d.ts.map +0 -1
- package/src/block/l2_block_downloader/index.ts +0 -2
- package/src/block/l2_block_downloader/l2_block_downloader.ts +0 -149
- package/src/block/nullifier_with_block_source.ts +0 -7
- package/src/event/event.ts +0 -16
- package/src/event/event_metadata.ts +0 -56
- package/src/event/index.ts +0 -3
- package/src/event/l1_event_payload.ts +0 -87
- package/src/kernel/combined_constant_data.ts +0 -128
- package/src/kernel/hints/rollup_validation_requests.ts +0 -73
- package/src/kernel/private_kernel_prover_profile_result.ts +0 -7
- package/src/logs/l1_payload/encrypted_log_payload.ts +0 -202
- package/src/logs/l1_payload/encryption_util.ts +0 -54
- package/src/logs/l1_payload/index.ts +0 -2
- package/src/logs/l1_payload/l1_note_payload.ts +0 -182
- package/src/logs/l1_payload/payload.ts +0 -73
- package/src/network/index.ts +0 -32
- package/src/rollup/constant_rollup_data.ts +0 -54
- package/src/shared_mutable/index.ts +0 -4
- package/src/shared_mutable/scheduled_delay_change.ts +0 -13
- package/src/shared_mutable/shared_mutable_values_with_hash.ts +0 -38
- package/src/tx/max_block_number.ts +0 -79
- package/src/tx/public_execution_request.ts +0 -97
- /package/dest/block/{nullifier_with_block_source.js → l2_block_stream/interfaces.js} +0 -0
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
4
1
|
import { MAX_ENQUEUED_CALLS_PER_TX } from '@aztec/constants';
|
|
5
2
|
import { Fr } from '@aztec/foundation/fields';
|
|
6
3
|
import { BufferReader, FieldReader, type Tuple } from '@aztec/foundation/serialize';
|
|
7
4
|
import { inspect } from 'util';
|
|
8
5
|
import { z } from 'zod';
|
|
9
6
|
import { AztecAddress } from '../aztec-address/index.js';
|
|
10
|
-
import { Gas, GasSettings } from '../gas/index.js';
|
|
7
|
+
import { Gas, GasFees, GasSettings } from '../gas/index.js';
|
|
11
8
|
import { PrivateToAvmAccumulatedData, PrivateToAvmAccumulatedDataArrayLengths } from '../kernel/private_to_avm_accumulated_data.js';
|
|
12
|
-
import { PublicCallRequest } from '../kernel/public_call_request.js';
|
|
9
|
+
import { PublicCallRequest, PublicCallRequestArrayLengths } from '../kernel/public_call_request.js';
|
|
13
10
|
import { GlobalVariables } from '../tx/global_variables.js';
|
|
14
11
|
import { TreeSnapshots } from '../tx/tree_snapshots.js';
|
|
15
|
-
import { AvmAccumulatedData } from './avm_accumulated_data.js';
|
|
12
|
+
import { AvmAccumulatedData, AvmAccumulatedDataArrayLengths } from './avm_accumulated_data.js';
|
|
16
13
|
export declare class AvmCircuitPublicInputs {
|
|
17
14
|
globalVariables: GlobalVariables;
|
|
18
15
|
startTreeSnapshots: TreeSnapshots;
|
|
19
16
|
startGasUsed: Gas;
|
|
20
17
|
gasSettings: GasSettings;
|
|
18
|
+
effectiveGasFees: GasFees;
|
|
21
19
|
feePayer: AztecAddress;
|
|
20
|
+
publicCallRequestArrayLengths: PublicCallRequestArrayLengths;
|
|
22
21
|
publicSetupCallRequests: Tuple<PublicCallRequest, typeof MAX_ENQUEUED_CALLS_PER_TX>;
|
|
23
22
|
publicAppLogicCallRequests: Tuple<PublicCallRequest, typeof MAX_ENQUEUED_CALLS_PER_TX>;
|
|
24
23
|
publicTeardownCallRequest: PublicCallRequest;
|
|
@@ -28,63 +27,64 @@ export declare class AvmCircuitPublicInputs {
|
|
|
28
27
|
previousRevertibleAccumulatedData: PrivateToAvmAccumulatedData;
|
|
29
28
|
endTreeSnapshots: TreeSnapshots;
|
|
30
29
|
endGasUsed: Gas;
|
|
30
|
+
accumulatedDataArrayLengths: AvmAccumulatedDataArrayLengths;
|
|
31
31
|
accumulatedData: AvmAccumulatedData;
|
|
32
32
|
transactionFee: Fr;
|
|
33
33
|
reverted: boolean;
|
|
34
|
-
constructor(globalVariables: GlobalVariables, startTreeSnapshots: TreeSnapshots, startGasUsed: Gas, gasSettings: GasSettings, feePayer: AztecAddress, publicSetupCallRequests: Tuple<PublicCallRequest, typeof MAX_ENQUEUED_CALLS_PER_TX>, publicAppLogicCallRequests: Tuple<PublicCallRequest, typeof MAX_ENQUEUED_CALLS_PER_TX>, publicTeardownCallRequest: PublicCallRequest, previousNonRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths, previousRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths, previousNonRevertibleAccumulatedData: PrivateToAvmAccumulatedData, previousRevertibleAccumulatedData: PrivateToAvmAccumulatedData, endTreeSnapshots: TreeSnapshots, endGasUsed: Gas, accumulatedData: AvmAccumulatedData, transactionFee: Fr, reverted: boolean);
|
|
34
|
+
constructor(globalVariables: GlobalVariables, startTreeSnapshots: TreeSnapshots, startGasUsed: Gas, gasSettings: GasSettings, effectiveGasFees: GasFees, feePayer: AztecAddress, publicCallRequestArrayLengths: PublicCallRequestArrayLengths, publicSetupCallRequests: Tuple<PublicCallRequest, typeof MAX_ENQUEUED_CALLS_PER_TX>, publicAppLogicCallRequests: Tuple<PublicCallRequest, typeof MAX_ENQUEUED_CALLS_PER_TX>, publicTeardownCallRequest: PublicCallRequest, previousNonRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths, previousRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths, previousNonRevertibleAccumulatedData: PrivateToAvmAccumulatedData, previousRevertibleAccumulatedData: PrivateToAvmAccumulatedData, endTreeSnapshots: TreeSnapshots, endGasUsed: Gas, accumulatedDataArrayLengths: AvmAccumulatedDataArrayLengths, accumulatedData: AvmAccumulatedData, transactionFee: Fr, reverted: boolean);
|
|
35
35
|
static get schema(): z.ZodEffects<z.ZodObject<{
|
|
36
36
|
globalVariables: z.ZodEffects<z.ZodObject<{
|
|
37
37
|
chainId: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
38
38
|
version: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
39
|
-
blockNumber:
|
|
39
|
+
blockNumber: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
40
40
|
slotNumber: import("@aztec/foundation/schemas").ZodFor<Fr>;
|
|
41
|
-
timestamp:
|
|
41
|
+
timestamp: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
42
42
|
coinbase: import("@aztec/foundation/schemas").ZodFor<import("@aztec/foundation/schemas").EthAddress>;
|
|
43
43
|
feeRecipient: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
44
44
|
gasFees: z.ZodEffects<z.ZodObject<{
|
|
45
|
-
feePerDaGas: z.
|
|
46
|
-
feePerL2Gas: z.
|
|
45
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
46
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
feePerDaGas:
|
|
49
|
-
feePerL2Gas:
|
|
48
|
+
feePerDaGas: bigint;
|
|
49
|
+
feePerL2Gas: bigint;
|
|
50
50
|
}, {
|
|
51
|
-
feePerDaGas: string;
|
|
52
|
-
feePerL2Gas: string;
|
|
53
|
-
}>,
|
|
54
|
-
feePerDaGas: string;
|
|
55
|
-
feePerL2Gas: string;
|
|
51
|
+
feePerDaGas: string | number | bigint;
|
|
52
|
+
feePerL2Gas: string | number | bigint;
|
|
53
|
+
}>, GasFees, {
|
|
54
|
+
feePerDaGas: string | number | bigint;
|
|
55
|
+
feePerL2Gas: string | number | bigint;
|
|
56
56
|
}>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
chainId: Fr;
|
|
59
59
|
version: Fr;
|
|
60
|
-
blockNumber:
|
|
60
|
+
blockNumber: number;
|
|
61
61
|
slotNumber: Fr;
|
|
62
|
-
timestamp:
|
|
62
|
+
timestamp: bigint;
|
|
63
63
|
coinbase: import("@aztec/foundation/schemas").EthAddress;
|
|
64
64
|
feeRecipient: AztecAddress;
|
|
65
|
-
gasFees:
|
|
65
|
+
gasFees: GasFees;
|
|
66
66
|
}, {
|
|
67
|
+
blockNumber: string | number | bigint;
|
|
68
|
+
timestamp: string | number | bigint;
|
|
67
69
|
gasFees: {
|
|
68
|
-
feePerDaGas: string;
|
|
69
|
-
feePerL2Gas: string;
|
|
70
|
+
feePerDaGas: string | number | bigint;
|
|
71
|
+
feePerL2Gas: string | number | bigint;
|
|
70
72
|
};
|
|
71
73
|
chainId?: any;
|
|
72
74
|
version?: any;
|
|
73
|
-
blockNumber?: any;
|
|
74
75
|
slotNumber?: any;
|
|
75
|
-
timestamp?: any;
|
|
76
76
|
coinbase?: any;
|
|
77
77
|
feeRecipient?: any;
|
|
78
78
|
}>, GlobalVariables, {
|
|
79
|
+
blockNumber: string | number | bigint;
|
|
80
|
+
timestamp: string | number | bigint;
|
|
79
81
|
gasFees: {
|
|
80
|
-
feePerDaGas: string;
|
|
81
|
-
feePerL2Gas: string;
|
|
82
|
+
feePerDaGas: string | number | bigint;
|
|
83
|
+
feePerL2Gas: string | number | bigint;
|
|
82
84
|
};
|
|
83
85
|
chainId?: any;
|
|
84
86
|
version?: any;
|
|
85
|
-
blockNumber?: any;
|
|
86
87
|
slotNumber?: any;
|
|
87
|
-
timestamp?: any;
|
|
88
88
|
coinbase?: any;
|
|
89
89
|
feeRecipient?: any;
|
|
90
90
|
}>;
|
|
@@ -142,15 +142,11 @@ export declare class AvmCircuitPublicInputs {
|
|
|
142
142
|
nextAvailableLeafIndex: string | number | bigint;
|
|
143
143
|
}>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
146
145
|
noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
147
146
|
nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
148
147
|
publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
148
|
+
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
149
149
|
}, {
|
|
150
|
-
l1ToL2MessageTree: {
|
|
151
|
-
root: string;
|
|
152
|
-
nextAvailableLeafIndex: string | number | bigint;
|
|
153
|
-
};
|
|
154
150
|
noteHashTree: {
|
|
155
151
|
root: string;
|
|
156
152
|
nextAvailableLeafIndex: string | number | bigint;
|
|
@@ -163,11 +159,11 @@ export declare class AvmCircuitPublicInputs {
|
|
|
163
159
|
root: string;
|
|
164
160
|
nextAvailableLeafIndex: string | number | bigint;
|
|
165
161
|
};
|
|
166
|
-
}>, TreeSnapshots, {
|
|
167
162
|
l1ToL2MessageTree: {
|
|
168
163
|
root: string;
|
|
169
164
|
nextAvailableLeafIndex: string | number | bigint;
|
|
170
165
|
};
|
|
166
|
+
}>, TreeSnapshots, {
|
|
171
167
|
noteHashTree: {
|
|
172
168
|
root: string;
|
|
173
169
|
nextAvailableLeafIndex: string | number | bigint;
|
|
@@ -180,6 +176,10 @@ export declare class AvmCircuitPublicInputs {
|
|
|
180
176
|
root: string;
|
|
181
177
|
nextAvailableLeafIndex: string | number | bigint;
|
|
182
178
|
};
|
|
179
|
+
l1ToL2MessageTree: {
|
|
180
|
+
root: string;
|
|
181
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
182
|
+
};
|
|
183
183
|
}>;
|
|
184
184
|
startGasUsed: z.ZodEffects<z.ZodObject<{
|
|
185
185
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -222,36 +222,36 @@ export declare class AvmCircuitPublicInputs {
|
|
|
222
222
|
l2Gas: string | number | bigint;
|
|
223
223
|
}>;
|
|
224
224
|
maxFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
225
|
-
feePerDaGas: z.
|
|
226
|
-
feePerL2Gas: z.
|
|
225
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
226
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
227
227
|
}, "strip", z.ZodTypeAny, {
|
|
228
|
-
feePerDaGas:
|
|
229
|
-
feePerL2Gas:
|
|
228
|
+
feePerDaGas: bigint;
|
|
229
|
+
feePerL2Gas: bigint;
|
|
230
230
|
}, {
|
|
231
|
-
feePerDaGas: string;
|
|
232
|
-
feePerL2Gas: string;
|
|
233
|
-
}>,
|
|
234
|
-
feePerDaGas: string;
|
|
235
|
-
feePerL2Gas: string;
|
|
231
|
+
feePerDaGas: string | number | bigint;
|
|
232
|
+
feePerL2Gas: string | number | bigint;
|
|
233
|
+
}>, GasFees, {
|
|
234
|
+
feePerDaGas: string | number | bigint;
|
|
235
|
+
feePerL2Gas: string | number | bigint;
|
|
236
236
|
}>;
|
|
237
237
|
maxPriorityFeesPerGas: z.ZodEffects<z.ZodObject<{
|
|
238
|
-
feePerDaGas: z.
|
|
239
|
-
feePerL2Gas: z.
|
|
238
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
239
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
feePerDaGas:
|
|
242
|
-
feePerL2Gas:
|
|
241
|
+
feePerDaGas: bigint;
|
|
242
|
+
feePerL2Gas: bigint;
|
|
243
243
|
}, {
|
|
244
|
-
feePerDaGas: string;
|
|
245
|
-
feePerL2Gas: string;
|
|
246
|
-
}>,
|
|
247
|
-
feePerDaGas: string;
|
|
248
|
-
feePerL2Gas: string;
|
|
244
|
+
feePerDaGas: string | number | bigint;
|
|
245
|
+
feePerL2Gas: string | number | bigint;
|
|
246
|
+
}>, GasFees, {
|
|
247
|
+
feePerDaGas: string | number | bigint;
|
|
248
|
+
feePerL2Gas: string | number | bigint;
|
|
249
249
|
}>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
gasLimits: Gas;
|
|
252
252
|
teardownGasLimits: Gas;
|
|
253
|
-
maxFeesPerGas:
|
|
254
|
-
maxPriorityFeesPerGas:
|
|
253
|
+
maxFeesPerGas: GasFees;
|
|
254
|
+
maxPriorityFeesPerGas: GasFees;
|
|
255
255
|
}, {
|
|
256
256
|
gasLimits: {
|
|
257
257
|
daGas: string | number | bigint;
|
|
@@ -262,12 +262,12 @@ export declare class AvmCircuitPublicInputs {
|
|
|
262
262
|
l2Gas: string | number | bigint;
|
|
263
263
|
};
|
|
264
264
|
maxFeesPerGas: {
|
|
265
|
-
feePerDaGas: string;
|
|
266
|
-
feePerL2Gas: string;
|
|
265
|
+
feePerDaGas: string | number | bigint;
|
|
266
|
+
feePerL2Gas: string | number | bigint;
|
|
267
267
|
};
|
|
268
268
|
maxPriorityFeesPerGas: {
|
|
269
|
-
feePerDaGas: string;
|
|
270
|
-
feePerL2Gas: string;
|
|
269
|
+
feePerDaGas: string | number | bigint;
|
|
270
|
+
feePerL2Gas: string | number | bigint;
|
|
271
271
|
};
|
|
272
272
|
}>, GasSettings, {
|
|
273
273
|
gasLimits: {
|
|
@@ -279,89 +279,107 @@ export declare class AvmCircuitPublicInputs {
|
|
|
279
279
|
l2Gas: string | number | bigint;
|
|
280
280
|
};
|
|
281
281
|
maxFeesPerGas: {
|
|
282
|
-
feePerDaGas: string;
|
|
283
|
-
feePerL2Gas: string;
|
|
282
|
+
feePerDaGas: string | number | bigint;
|
|
283
|
+
feePerL2Gas: string | number | bigint;
|
|
284
284
|
};
|
|
285
285
|
maxPriorityFeesPerGas: {
|
|
286
|
-
feePerDaGas: string;
|
|
287
|
-
feePerL2Gas: string;
|
|
286
|
+
feePerDaGas: string | number | bigint;
|
|
287
|
+
feePerL2Gas: string | number | bigint;
|
|
288
288
|
};
|
|
289
289
|
}>;
|
|
290
|
+
effectiveGasFees: z.ZodEffects<z.ZodObject<{
|
|
291
|
+
feePerDaGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
292
|
+
feePerL2Gas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodBigInt>;
|
|
293
|
+
}, "strip", z.ZodTypeAny, {
|
|
294
|
+
feePerDaGas: bigint;
|
|
295
|
+
feePerL2Gas: bigint;
|
|
296
|
+
}, {
|
|
297
|
+
feePerDaGas: string | number | bigint;
|
|
298
|
+
feePerL2Gas: string | number | bigint;
|
|
299
|
+
}>, GasFees, {
|
|
300
|
+
feePerDaGas: string | number | bigint;
|
|
301
|
+
feePerL2Gas: string | number | bigint;
|
|
302
|
+
}>;
|
|
290
303
|
feePayer: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
304
|
+
publicCallRequestArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
305
|
+
setupCalls: z.ZodNumber;
|
|
306
|
+
appLogicCalls: z.ZodNumber;
|
|
307
|
+
teardownCall: z.ZodBoolean;
|
|
308
|
+
}, "strip", z.ZodTypeAny, {
|
|
309
|
+
setupCalls: number;
|
|
310
|
+
appLogicCalls: number;
|
|
311
|
+
teardownCall: boolean;
|
|
312
|
+
}, {
|
|
313
|
+
setupCalls: number;
|
|
314
|
+
appLogicCalls: number;
|
|
315
|
+
teardownCall: boolean;
|
|
316
|
+
}>, PublicCallRequestArrayLengths, {
|
|
317
|
+
setupCalls: number;
|
|
318
|
+
appLogicCalls: number;
|
|
319
|
+
teardownCall: boolean;
|
|
320
|
+
}>;
|
|
291
321
|
publicSetupCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
292
322
|
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
293
323
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
294
|
-
functionSelector: import("@aztec/foundation/schemas").ZodFor<import("../abi/function_selector.js").FunctionSelector>;
|
|
295
324
|
isStaticCall: z.ZodBoolean;
|
|
296
|
-
|
|
325
|
+
calldataHash: z.ZodType<Fr, any, string>;
|
|
297
326
|
}, "strip", z.ZodTypeAny, {
|
|
298
327
|
contractAddress: AztecAddress;
|
|
299
328
|
msgSender: AztecAddress;
|
|
300
|
-
functionSelector: import("../abi/function_selector.js").FunctionSelector;
|
|
301
329
|
isStaticCall: boolean;
|
|
302
|
-
|
|
330
|
+
calldataHash: Fr;
|
|
303
331
|
}, {
|
|
304
332
|
isStaticCall: boolean;
|
|
305
|
-
|
|
333
|
+
calldataHash: string;
|
|
306
334
|
contractAddress?: any;
|
|
307
335
|
msgSender?: any;
|
|
308
|
-
functionSelector?: any;
|
|
309
336
|
}>, PublicCallRequest, {
|
|
310
337
|
isStaticCall: boolean;
|
|
311
|
-
|
|
338
|
+
calldataHash: string;
|
|
312
339
|
contractAddress?: any;
|
|
313
340
|
msgSender?: any;
|
|
314
|
-
functionSelector?: any;
|
|
315
341
|
}>, "many">;
|
|
316
342
|
publicAppLogicCallRequests: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
317
343
|
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
318
344
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
319
|
-
functionSelector: import("@aztec/foundation/schemas").ZodFor<import("../abi/function_selector.js").FunctionSelector>;
|
|
320
345
|
isStaticCall: z.ZodBoolean;
|
|
321
|
-
|
|
346
|
+
calldataHash: z.ZodType<Fr, any, string>;
|
|
322
347
|
}, "strip", z.ZodTypeAny, {
|
|
323
348
|
contractAddress: AztecAddress;
|
|
324
349
|
msgSender: AztecAddress;
|
|
325
|
-
functionSelector: import("../abi/function_selector.js").FunctionSelector;
|
|
326
350
|
isStaticCall: boolean;
|
|
327
|
-
|
|
351
|
+
calldataHash: Fr;
|
|
328
352
|
}, {
|
|
329
353
|
isStaticCall: boolean;
|
|
330
|
-
|
|
354
|
+
calldataHash: string;
|
|
331
355
|
contractAddress?: any;
|
|
332
356
|
msgSender?: any;
|
|
333
|
-
functionSelector?: any;
|
|
334
357
|
}>, PublicCallRequest, {
|
|
335
358
|
isStaticCall: boolean;
|
|
336
|
-
|
|
359
|
+
calldataHash: string;
|
|
337
360
|
contractAddress?: any;
|
|
338
361
|
msgSender?: any;
|
|
339
|
-
functionSelector?: any;
|
|
340
362
|
}>, "many">;
|
|
341
363
|
publicTeardownCallRequest: z.ZodEffects<z.ZodObject<{
|
|
342
364
|
msgSender: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
343
365
|
contractAddress: import("@aztec/foundation/schemas").ZodFor<AztecAddress>;
|
|
344
|
-
functionSelector: import("@aztec/foundation/schemas").ZodFor<import("../abi/function_selector.js").FunctionSelector>;
|
|
345
366
|
isStaticCall: z.ZodBoolean;
|
|
346
|
-
|
|
367
|
+
calldataHash: z.ZodType<Fr, any, string>;
|
|
347
368
|
}, "strip", z.ZodTypeAny, {
|
|
348
369
|
contractAddress: AztecAddress;
|
|
349
370
|
msgSender: AztecAddress;
|
|
350
|
-
functionSelector: import("../abi/function_selector.js").FunctionSelector;
|
|
351
371
|
isStaticCall: boolean;
|
|
352
|
-
|
|
372
|
+
calldataHash: Fr;
|
|
353
373
|
}, {
|
|
354
374
|
isStaticCall: boolean;
|
|
355
|
-
|
|
375
|
+
calldataHash: string;
|
|
356
376
|
contractAddress?: any;
|
|
357
377
|
msgSender?: any;
|
|
358
|
-
functionSelector?: any;
|
|
359
378
|
}>, PublicCallRequest, {
|
|
360
379
|
isStaticCall: boolean;
|
|
361
|
-
|
|
380
|
+
calldataHash: string;
|
|
362
381
|
contractAddress?: any;
|
|
363
382
|
msgSender?: any;
|
|
364
|
-
functionSelector?: any;
|
|
365
383
|
}>;
|
|
366
384
|
previousNonRevertibleAccumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
367
385
|
noteHashes: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -404,17 +422,13 @@ export declare class AvmCircuitPublicInputs {
|
|
|
404
422
|
message: z.ZodEffects<z.ZodObject<{
|
|
405
423
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
406
424
|
content: z.ZodType<Fr, any, string>;
|
|
407
|
-
counter: z.ZodNumber;
|
|
408
425
|
}, "strip", z.ZodTypeAny, {
|
|
409
|
-
counter: number;
|
|
410
426
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
411
427
|
content: Fr;
|
|
412
428
|
}, {
|
|
413
|
-
counter: number;
|
|
414
429
|
recipient: string;
|
|
415
430
|
content: string;
|
|
416
431
|
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
417
|
-
counter: number;
|
|
418
432
|
recipient: string;
|
|
419
433
|
content: string;
|
|
420
434
|
}>;
|
|
@@ -424,14 +438,12 @@ export declare class AvmCircuitPublicInputs {
|
|
|
424
438
|
contractAddress: AztecAddress;
|
|
425
439
|
}, {
|
|
426
440
|
message: {
|
|
427
|
-
counter: number;
|
|
428
441
|
recipient: string;
|
|
429
442
|
content: string;
|
|
430
443
|
};
|
|
431
444
|
contractAddress?: any;
|
|
432
445
|
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
433
446
|
message: {
|
|
434
|
-
counter: number;
|
|
435
447
|
recipient: string;
|
|
436
448
|
content: string;
|
|
437
449
|
};
|
|
@@ -446,7 +458,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
446
458
|
nullifiers: string[];
|
|
447
459
|
l2ToL1Msgs: {
|
|
448
460
|
message: {
|
|
449
|
-
counter: number;
|
|
450
461
|
recipient: string;
|
|
451
462
|
content: string;
|
|
452
463
|
};
|
|
@@ -457,7 +468,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
457
468
|
nullifiers: string[];
|
|
458
469
|
l2ToL1Msgs: {
|
|
459
470
|
message: {
|
|
460
|
-
counter: number;
|
|
461
471
|
recipient: string;
|
|
462
472
|
content: string;
|
|
463
473
|
};
|
|
@@ -471,17 +481,13 @@ export declare class AvmCircuitPublicInputs {
|
|
|
471
481
|
message: z.ZodEffects<z.ZodObject<{
|
|
472
482
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
473
483
|
content: z.ZodType<Fr, any, string>;
|
|
474
|
-
counter: z.ZodNumber;
|
|
475
484
|
}, "strip", z.ZodTypeAny, {
|
|
476
|
-
counter: number;
|
|
477
485
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
478
486
|
content: Fr;
|
|
479
487
|
}, {
|
|
480
|
-
counter: number;
|
|
481
488
|
recipient: string;
|
|
482
489
|
content: string;
|
|
483
490
|
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
484
|
-
counter: number;
|
|
485
491
|
recipient: string;
|
|
486
492
|
content: string;
|
|
487
493
|
}>;
|
|
@@ -491,14 +497,12 @@ export declare class AvmCircuitPublicInputs {
|
|
|
491
497
|
contractAddress: AztecAddress;
|
|
492
498
|
}, {
|
|
493
499
|
message: {
|
|
494
|
-
counter: number;
|
|
495
500
|
recipient: string;
|
|
496
501
|
content: string;
|
|
497
502
|
};
|
|
498
503
|
contractAddress?: any;
|
|
499
504
|
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
500
505
|
message: {
|
|
501
|
-
counter: number;
|
|
502
506
|
recipient: string;
|
|
503
507
|
content: string;
|
|
504
508
|
};
|
|
@@ -513,7 +517,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
513
517
|
nullifiers: string[];
|
|
514
518
|
l2ToL1Msgs: {
|
|
515
519
|
message: {
|
|
516
|
-
counter: number;
|
|
517
520
|
recipient: string;
|
|
518
521
|
content: string;
|
|
519
522
|
};
|
|
@@ -524,7 +527,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
524
527
|
nullifiers: string[];
|
|
525
528
|
l2ToL1Msgs: {
|
|
526
529
|
message: {
|
|
527
|
-
counter: number;
|
|
528
530
|
recipient: string;
|
|
529
531
|
content: string;
|
|
530
532
|
};
|
|
@@ -585,15 +587,11 @@ export declare class AvmCircuitPublicInputs {
|
|
|
585
587
|
nextAvailableLeafIndex: string | number | bigint;
|
|
586
588
|
}>;
|
|
587
589
|
}, "strip", z.ZodTypeAny, {
|
|
588
|
-
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
589
590
|
noteHashTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
590
591
|
nullifierTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
591
592
|
publicDataTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
593
|
+
l1ToL2MessageTree: import("../trees/append_only_tree_snapshot.js").AppendOnlyTreeSnapshot;
|
|
592
594
|
}, {
|
|
593
|
-
l1ToL2MessageTree: {
|
|
594
|
-
root: string;
|
|
595
|
-
nextAvailableLeafIndex: string | number | bigint;
|
|
596
|
-
};
|
|
597
595
|
noteHashTree: {
|
|
598
596
|
root: string;
|
|
599
597
|
nextAvailableLeafIndex: string | number | bigint;
|
|
@@ -606,11 +604,11 @@ export declare class AvmCircuitPublicInputs {
|
|
|
606
604
|
root: string;
|
|
607
605
|
nextAvailableLeafIndex: string | number | bigint;
|
|
608
606
|
};
|
|
609
|
-
}>, TreeSnapshots, {
|
|
610
607
|
l1ToL2MessageTree: {
|
|
611
608
|
root: string;
|
|
612
609
|
nextAvailableLeafIndex: string | number | bigint;
|
|
613
610
|
};
|
|
611
|
+
}>, TreeSnapshots, {
|
|
614
612
|
noteHashTree: {
|
|
615
613
|
root: string;
|
|
616
614
|
nextAvailableLeafIndex: string | number | bigint;
|
|
@@ -623,6 +621,10 @@ export declare class AvmCircuitPublicInputs {
|
|
|
623
621
|
root: string;
|
|
624
622
|
nextAvailableLeafIndex: string | number | bigint;
|
|
625
623
|
};
|
|
624
|
+
l1ToL2MessageTree: {
|
|
625
|
+
root: string;
|
|
626
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
627
|
+
};
|
|
626
628
|
}>;
|
|
627
629
|
endGasUsed: z.ZodEffects<z.ZodObject<{
|
|
628
630
|
daGas: z.ZodPipeline<z.ZodUnion<[z.ZodBigInt, z.ZodNumber, z.ZodString]>, z.ZodNumber>;
|
|
@@ -637,6 +639,31 @@ export declare class AvmCircuitPublicInputs {
|
|
|
637
639
|
daGas: string | number | bigint;
|
|
638
640
|
l2Gas: string | number | bigint;
|
|
639
641
|
}>;
|
|
642
|
+
accumulatedDataArrayLengths: z.ZodEffects<z.ZodObject<{
|
|
643
|
+
noteHashes: z.ZodNumber;
|
|
644
|
+
nullifiers: z.ZodNumber;
|
|
645
|
+
l2ToL1Msgs: z.ZodNumber;
|
|
646
|
+
publicLogs: z.ZodNumber;
|
|
647
|
+
publicDataWrites: z.ZodNumber;
|
|
648
|
+
}, "strip", z.ZodTypeAny, {
|
|
649
|
+
noteHashes: number;
|
|
650
|
+
nullifiers: number;
|
|
651
|
+
l2ToL1Msgs: number;
|
|
652
|
+
publicDataWrites: number;
|
|
653
|
+
publicLogs: number;
|
|
654
|
+
}, {
|
|
655
|
+
noteHashes: number;
|
|
656
|
+
nullifiers: number;
|
|
657
|
+
l2ToL1Msgs: number;
|
|
658
|
+
publicDataWrites: number;
|
|
659
|
+
publicLogs: number;
|
|
660
|
+
}>, AvmAccumulatedDataArrayLengths, {
|
|
661
|
+
noteHashes: number;
|
|
662
|
+
nullifiers: number;
|
|
663
|
+
l2ToL1Msgs: number;
|
|
664
|
+
publicDataWrites: number;
|
|
665
|
+
publicLogs: number;
|
|
666
|
+
}>;
|
|
640
667
|
accumulatedData: z.ZodEffects<z.ZodObject<{
|
|
641
668
|
noteHashes: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
642
669
|
nullifiers: z.ZodArray<z.ZodType<Fr, any, string>, "many">;
|
|
@@ -644,17 +671,13 @@ export declare class AvmCircuitPublicInputs {
|
|
|
644
671
|
message: z.ZodEffects<z.ZodObject<{
|
|
645
672
|
recipient: z.ZodType<import("@aztec/foundation/schemas").EthAddress, any, string>;
|
|
646
673
|
content: z.ZodType<Fr, any, string>;
|
|
647
|
-
counter: z.ZodNumber;
|
|
648
674
|
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
counter: number;
|
|
650
675
|
recipient: import("@aztec/foundation/schemas").EthAddress;
|
|
651
676
|
content: Fr;
|
|
652
677
|
}, {
|
|
653
|
-
counter: number;
|
|
654
678
|
recipient: string;
|
|
655
679
|
content: string;
|
|
656
680
|
}>, import("../messaging/l2_to_l1_message.js").L2ToL1Message, {
|
|
657
|
-
counter: number;
|
|
658
681
|
recipient: string;
|
|
659
682
|
content: string;
|
|
660
683
|
}>;
|
|
@@ -664,14 +687,12 @@ export declare class AvmCircuitPublicInputs {
|
|
|
664
687
|
contractAddress: AztecAddress;
|
|
665
688
|
}, {
|
|
666
689
|
message: {
|
|
667
|
-
counter: number;
|
|
668
690
|
recipient: string;
|
|
669
691
|
content: string;
|
|
670
692
|
};
|
|
671
693
|
contractAddress?: any;
|
|
672
694
|
}>, import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message, {
|
|
673
695
|
message: {
|
|
674
|
-
counter: number;
|
|
675
696
|
recipient: string;
|
|
676
697
|
content: string;
|
|
677
698
|
};
|
|
@@ -695,80 +716,106 @@ export declare class AvmCircuitPublicInputs {
|
|
|
695
716
|
noteHashes: Fr[];
|
|
696
717
|
nullifiers: Fr[];
|
|
697
718
|
l2ToL1Msgs: import("../messaging/l2_to_l1_message.js").ScopedL2ToL1Message[];
|
|
698
|
-
publicLogs: import("../logs/public_log.js").PublicLog[];
|
|
699
719
|
publicDataWrites: import("./public_data_write.js").PublicDataWrite[];
|
|
720
|
+
publicLogs: import("../logs/public_log.js").PublicLog[];
|
|
700
721
|
}, {
|
|
701
722
|
noteHashes: string[];
|
|
702
723
|
nullifiers: string[];
|
|
703
724
|
l2ToL1Msgs: {
|
|
704
725
|
message: {
|
|
705
|
-
counter: number;
|
|
706
726
|
recipient: string;
|
|
707
727
|
content: string;
|
|
708
728
|
};
|
|
709
729
|
contractAddress?: any;
|
|
710
730
|
}[];
|
|
711
|
-
publicLogs: any[];
|
|
712
731
|
publicDataWrites: {
|
|
713
732
|
value: string;
|
|
714
733
|
leafSlot: string;
|
|
715
734
|
}[];
|
|
735
|
+
publicLogs: any[];
|
|
716
736
|
}>, AvmAccumulatedData, {
|
|
717
737
|
noteHashes: string[];
|
|
718
738
|
nullifiers: string[];
|
|
719
739
|
l2ToL1Msgs: {
|
|
720
740
|
message: {
|
|
721
|
-
counter: number;
|
|
722
741
|
recipient: string;
|
|
723
742
|
content: string;
|
|
724
743
|
};
|
|
725
744
|
contractAddress?: any;
|
|
726
745
|
}[];
|
|
727
|
-
publicLogs: any[];
|
|
728
746
|
publicDataWrites: {
|
|
729
747
|
value: string;
|
|
730
748
|
leafSlot: string;
|
|
731
749
|
}[];
|
|
750
|
+
publicLogs: any[];
|
|
732
751
|
}>;
|
|
733
752
|
transactionFee: z.ZodType<Fr, any, string>;
|
|
734
753
|
reverted: z.ZodBoolean;
|
|
735
754
|
}, "strip", z.ZodTypeAny, {
|
|
736
755
|
globalVariables: GlobalVariables;
|
|
737
|
-
startTreeSnapshots: TreeSnapshots;
|
|
738
|
-
startGasUsed: Gas;
|
|
739
756
|
gasSettings: GasSettings;
|
|
757
|
+
publicTeardownCallRequest: PublicCallRequest;
|
|
758
|
+
transactionFee: Fr;
|
|
740
759
|
feePayer: AztecAddress;
|
|
760
|
+
effectiveGasFees: GasFees;
|
|
761
|
+
startTreeSnapshots: TreeSnapshots;
|
|
762
|
+
startGasUsed: Gas;
|
|
763
|
+
publicCallRequestArrayLengths: PublicCallRequestArrayLengths;
|
|
741
764
|
publicSetupCallRequests: PublicCallRequest[];
|
|
742
765
|
publicAppLogicCallRequests: PublicCallRequest[];
|
|
743
|
-
publicTeardownCallRequest: PublicCallRequest;
|
|
744
766
|
previousNonRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths;
|
|
745
767
|
previousRevertibleAccumulatedDataArrayLengths: PrivateToAvmAccumulatedDataArrayLengths;
|
|
746
768
|
previousNonRevertibleAccumulatedData: PrivateToAvmAccumulatedData;
|
|
747
769
|
previousRevertibleAccumulatedData: PrivateToAvmAccumulatedData;
|
|
748
770
|
endTreeSnapshots: TreeSnapshots;
|
|
749
771
|
endGasUsed: Gas;
|
|
772
|
+
accumulatedDataArrayLengths: AvmAccumulatedDataArrayLengths;
|
|
750
773
|
accumulatedData: AvmAccumulatedData;
|
|
751
|
-
transactionFee: Fr;
|
|
752
774
|
reverted: boolean;
|
|
753
775
|
}, {
|
|
754
776
|
globalVariables: {
|
|
777
|
+
blockNumber: string | number | bigint;
|
|
778
|
+
timestamp: string | number | bigint;
|
|
755
779
|
gasFees: {
|
|
756
|
-
feePerDaGas: string;
|
|
757
|
-
feePerL2Gas: string;
|
|
780
|
+
feePerDaGas: string | number | bigint;
|
|
781
|
+
feePerL2Gas: string | number | bigint;
|
|
758
782
|
};
|
|
759
783
|
chainId?: any;
|
|
760
784
|
version?: any;
|
|
761
|
-
blockNumber?: any;
|
|
762
785
|
slotNumber?: any;
|
|
763
|
-
timestamp?: any;
|
|
764
786
|
coinbase?: any;
|
|
765
787
|
feeRecipient?: any;
|
|
766
788
|
};
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
789
|
+
gasSettings: {
|
|
790
|
+
gasLimits: {
|
|
791
|
+
daGas: string | number | bigint;
|
|
792
|
+
l2Gas: string | number | bigint;
|
|
793
|
+
};
|
|
794
|
+
teardownGasLimits: {
|
|
795
|
+
daGas: string | number | bigint;
|
|
796
|
+
l2Gas: string | number | bigint;
|
|
771
797
|
};
|
|
798
|
+
maxFeesPerGas: {
|
|
799
|
+
feePerDaGas: string | number | bigint;
|
|
800
|
+
feePerL2Gas: string | number | bigint;
|
|
801
|
+
};
|
|
802
|
+
maxPriorityFeesPerGas: {
|
|
803
|
+
feePerDaGas: string | number | bigint;
|
|
804
|
+
feePerL2Gas: string | number | bigint;
|
|
805
|
+
};
|
|
806
|
+
};
|
|
807
|
+
publicTeardownCallRequest: {
|
|
808
|
+
isStaticCall: boolean;
|
|
809
|
+
calldataHash: string;
|
|
810
|
+
contractAddress?: any;
|
|
811
|
+
msgSender?: any;
|
|
812
|
+
};
|
|
813
|
+
transactionFee: string;
|
|
814
|
+
effectiveGasFees: {
|
|
815
|
+
feePerDaGas: string | number | bigint;
|
|
816
|
+
feePerL2Gas: string | number | bigint;
|
|
817
|
+
};
|
|
818
|
+
startTreeSnapshots: {
|
|
772
819
|
noteHashTree: {
|
|
773
820
|
root: string;
|
|
774
821
|
nextAvailableLeafIndex: string | number | bigint;
|
|
@@ -781,50 +828,32 @@ export declare class AvmCircuitPublicInputs {
|
|
|
781
828
|
root: string;
|
|
782
829
|
nextAvailableLeafIndex: string | number | bigint;
|
|
783
830
|
};
|
|
831
|
+
l1ToL2MessageTree: {
|
|
832
|
+
root: string;
|
|
833
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
834
|
+
};
|
|
784
835
|
};
|
|
785
836
|
startGasUsed: {
|
|
786
837
|
daGas: string | number | bigint;
|
|
787
838
|
l2Gas: string | number | bigint;
|
|
788
839
|
};
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
};
|
|
794
|
-
teardownGasLimits: {
|
|
795
|
-
daGas: string | number | bigint;
|
|
796
|
-
l2Gas: string | number | bigint;
|
|
797
|
-
};
|
|
798
|
-
maxFeesPerGas: {
|
|
799
|
-
feePerDaGas: string;
|
|
800
|
-
feePerL2Gas: string;
|
|
801
|
-
};
|
|
802
|
-
maxPriorityFeesPerGas: {
|
|
803
|
-
feePerDaGas: string;
|
|
804
|
-
feePerL2Gas: string;
|
|
805
|
-
};
|
|
840
|
+
publicCallRequestArrayLengths: {
|
|
841
|
+
setupCalls: number;
|
|
842
|
+
appLogicCalls: number;
|
|
843
|
+
teardownCall: boolean;
|
|
806
844
|
};
|
|
807
845
|
publicSetupCallRequests: {
|
|
808
846
|
isStaticCall: boolean;
|
|
809
|
-
|
|
847
|
+
calldataHash: string;
|
|
810
848
|
contractAddress?: any;
|
|
811
849
|
msgSender?: any;
|
|
812
|
-
functionSelector?: any;
|
|
813
850
|
}[];
|
|
814
851
|
publicAppLogicCallRequests: {
|
|
815
852
|
isStaticCall: boolean;
|
|
816
|
-
|
|
853
|
+
calldataHash: string;
|
|
817
854
|
contractAddress?: any;
|
|
818
855
|
msgSender?: any;
|
|
819
|
-
functionSelector?: any;
|
|
820
856
|
}[];
|
|
821
|
-
publicTeardownCallRequest: {
|
|
822
|
-
isStaticCall: boolean;
|
|
823
|
-
argsHash: string;
|
|
824
|
-
contractAddress?: any;
|
|
825
|
-
msgSender?: any;
|
|
826
|
-
functionSelector?: any;
|
|
827
|
-
};
|
|
828
857
|
previousNonRevertibleAccumulatedDataArrayLengths: {
|
|
829
858
|
noteHashes: string | number | bigint;
|
|
830
859
|
nullifiers: string | number | bigint;
|
|
@@ -840,7 +869,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
840
869
|
nullifiers: string[];
|
|
841
870
|
l2ToL1Msgs: {
|
|
842
871
|
message: {
|
|
843
|
-
counter: number;
|
|
844
872
|
recipient: string;
|
|
845
873
|
content: string;
|
|
846
874
|
};
|
|
@@ -852,7 +880,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
852
880
|
nullifiers: string[];
|
|
853
881
|
l2ToL1Msgs: {
|
|
854
882
|
message: {
|
|
855
|
-
counter: number;
|
|
856
883
|
recipient: string;
|
|
857
884
|
content: string;
|
|
858
885
|
};
|
|
@@ -860,10 +887,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
860
887
|
}[];
|
|
861
888
|
};
|
|
862
889
|
endTreeSnapshots: {
|
|
863
|
-
l1ToL2MessageTree: {
|
|
864
|
-
root: string;
|
|
865
|
-
nextAvailableLeafIndex: string | number | bigint;
|
|
866
|
-
};
|
|
867
890
|
noteHashTree: {
|
|
868
891
|
root: string;
|
|
869
892
|
nextAvailableLeafIndex: string | number | bigint;
|
|
@@ -876,50 +899,84 @@ export declare class AvmCircuitPublicInputs {
|
|
|
876
899
|
root: string;
|
|
877
900
|
nextAvailableLeafIndex: string | number | bigint;
|
|
878
901
|
};
|
|
902
|
+
l1ToL2MessageTree: {
|
|
903
|
+
root: string;
|
|
904
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
905
|
+
};
|
|
879
906
|
};
|
|
880
907
|
endGasUsed: {
|
|
881
908
|
daGas: string | number | bigint;
|
|
882
909
|
l2Gas: string | number | bigint;
|
|
883
910
|
};
|
|
911
|
+
accumulatedDataArrayLengths: {
|
|
912
|
+
noteHashes: number;
|
|
913
|
+
nullifiers: number;
|
|
914
|
+
l2ToL1Msgs: number;
|
|
915
|
+
publicDataWrites: number;
|
|
916
|
+
publicLogs: number;
|
|
917
|
+
};
|
|
884
918
|
accumulatedData: {
|
|
885
919
|
noteHashes: string[];
|
|
886
920
|
nullifiers: string[];
|
|
887
921
|
l2ToL1Msgs: {
|
|
888
922
|
message: {
|
|
889
|
-
counter: number;
|
|
890
923
|
recipient: string;
|
|
891
924
|
content: string;
|
|
892
925
|
};
|
|
893
926
|
contractAddress?: any;
|
|
894
927
|
}[];
|
|
895
|
-
publicLogs: any[];
|
|
896
928
|
publicDataWrites: {
|
|
897
929
|
value: string;
|
|
898
930
|
leafSlot: string;
|
|
899
931
|
}[];
|
|
932
|
+
publicLogs: any[];
|
|
900
933
|
};
|
|
901
|
-
transactionFee: string;
|
|
902
934
|
reverted: boolean;
|
|
903
935
|
feePayer?: any;
|
|
904
936
|
}>, AvmCircuitPublicInputs, {
|
|
905
937
|
globalVariables: {
|
|
938
|
+
blockNumber: string | number | bigint;
|
|
939
|
+
timestamp: string | number | bigint;
|
|
906
940
|
gasFees: {
|
|
907
|
-
feePerDaGas: string;
|
|
908
|
-
feePerL2Gas: string;
|
|
941
|
+
feePerDaGas: string | number | bigint;
|
|
942
|
+
feePerL2Gas: string | number | bigint;
|
|
909
943
|
};
|
|
910
944
|
chainId?: any;
|
|
911
945
|
version?: any;
|
|
912
|
-
blockNumber?: any;
|
|
913
946
|
slotNumber?: any;
|
|
914
|
-
timestamp?: any;
|
|
915
947
|
coinbase?: any;
|
|
916
948
|
feeRecipient?: any;
|
|
917
949
|
};
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
950
|
+
gasSettings: {
|
|
951
|
+
gasLimits: {
|
|
952
|
+
daGas: string | number | bigint;
|
|
953
|
+
l2Gas: string | number | bigint;
|
|
954
|
+
};
|
|
955
|
+
teardownGasLimits: {
|
|
956
|
+
daGas: string | number | bigint;
|
|
957
|
+
l2Gas: string | number | bigint;
|
|
922
958
|
};
|
|
959
|
+
maxFeesPerGas: {
|
|
960
|
+
feePerDaGas: string | number | bigint;
|
|
961
|
+
feePerL2Gas: string | number | bigint;
|
|
962
|
+
};
|
|
963
|
+
maxPriorityFeesPerGas: {
|
|
964
|
+
feePerDaGas: string | number | bigint;
|
|
965
|
+
feePerL2Gas: string | number | bigint;
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
publicTeardownCallRequest: {
|
|
969
|
+
isStaticCall: boolean;
|
|
970
|
+
calldataHash: string;
|
|
971
|
+
contractAddress?: any;
|
|
972
|
+
msgSender?: any;
|
|
973
|
+
};
|
|
974
|
+
transactionFee: string;
|
|
975
|
+
effectiveGasFees: {
|
|
976
|
+
feePerDaGas: string | number | bigint;
|
|
977
|
+
feePerL2Gas: string | number | bigint;
|
|
978
|
+
};
|
|
979
|
+
startTreeSnapshots: {
|
|
923
980
|
noteHashTree: {
|
|
924
981
|
root: string;
|
|
925
982
|
nextAvailableLeafIndex: string | number | bigint;
|
|
@@ -932,50 +989,32 @@ export declare class AvmCircuitPublicInputs {
|
|
|
932
989
|
root: string;
|
|
933
990
|
nextAvailableLeafIndex: string | number | bigint;
|
|
934
991
|
};
|
|
992
|
+
l1ToL2MessageTree: {
|
|
993
|
+
root: string;
|
|
994
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
995
|
+
};
|
|
935
996
|
};
|
|
936
997
|
startGasUsed: {
|
|
937
998
|
daGas: string | number | bigint;
|
|
938
999
|
l2Gas: string | number | bigint;
|
|
939
1000
|
};
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
};
|
|
945
|
-
teardownGasLimits: {
|
|
946
|
-
daGas: string | number | bigint;
|
|
947
|
-
l2Gas: string | number | bigint;
|
|
948
|
-
};
|
|
949
|
-
maxFeesPerGas: {
|
|
950
|
-
feePerDaGas: string;
|
|
951
|
-
feePerL2Gas: string;
|
|
952
|
-
};
|
|
953
|
-
maxPriorityFeesPerGas: {
|
|
954
|
-
feePerDaGas: string;
|
|
955
|
-
feePerL2Gas: string;
|
|
956
|
-
};
|
|
1001
|
+
publicCallRequestArrayLengths: {
|
|
1002
|
+
setupCalls: number;
|
|
1003
|
+
appLogicCalls: number;
|
|
1004
|
+
teardownCall: boolean;
|
|
957
1005
|
};
|
|
958
1006
|
publicSetupCallRequests: {
|
|
959
1007
|
isStaticCall: boolean;
|
|
960
|
-
|
|
1008
|
+
calldataHash: string;
|
|
961
1009
|
contractAddress?: any;
|
|
962
1010
|
msgSender?: any;
|
|
963
|
-
functionSelector?: any;
|
|
964
1011
|
}[];
|
|
965
1012
|
publicAppLogicCallRequests: {
|
|
966
1013
|
isStaticCall: boolean;
|
|
967
|
-
|
|
1014
|
+
calldataHash: string;
|
|
968
1015
|
contractAddress?: any;
|
|
969
1016
|
msgSender?: any;
|
|
970
|
-
functionSelector?: any;
|
|
971
1017
|
}[];
|
|
972
|
-
publicTeardownCallRequest: {
|
|
973
|
-
isStaticCall: boolean;
|
|
974
|
-
argsHash: string;
|
|
975
|
-
contractAddress?: any;
|
|
976
|
-
msgSender?: any;
|
|
977
|
-
functionSelector?: any;
|
|
978
|
-
};
|
|
979
1018
|
previousNonRevertibleAccumulatedDataArrayLengths: {
|
|
980
1019
|
noteHashes: string | number | bigint;
|
|
981
1020
|
nullifiers: string | number | bigint;
|
|
@@ -991,7 +1030,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
991
1030
|
nullifiers: string[];
|
|
992
1031
|
l2ToL1Msgs: {
|
|
993
1032
|
message: {
|
|
994
|
-
counter: number;
|
|
995
1033
|
recipient: string;
|
|
996
1034
|
content: string;
|
|
997
1035
|
};
|
|
@@ -1003,7 +1041,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
1003
1041
|
nullifiers: string[];
|
|
1004
1042
|
l2ToL1Msgs: {
|
|
1005
1043
|
message: {
|
|
1006
|
-
counter: number;
|
|
1007
1044
|
recipient: string;
|
|
1008
1045
|
content: string;
|
|
1009
1046
|
};
|
|
@@ -1011,10 +1048,6 @@ export declare class AvmCircuitPublicInputs {
|
|
|
1011
1048
|
}[];
|
|
1012
1049
|
};
|
|
1013
1050
|
endTreeSnapshots: {
|
|
1014
|
-
l1ToL2MessageTree: {
|
|
1015
|
-
root: string;
|
|
1016
|
-
nextAvailableLeafIndex: string | number | bigint;
|
|
1017
|
-
};
|
|
1018
1051
|
noteHashTree: {
|
|
1019
1052
|
root: string;
|
|
1020
1053
|
nextAvailableLeafIndex: string | number | bigint;
|
|
@@ -1027,37 +1060,47 @@ export declare class AvmCircuitPublicInputs {
|
|
|
1027
1060
|
root: string;
|
|
1028
1061
|
nextAvailableLeafIndex: string | number | bigint;
|
|
1029
1062
|
};
|
|
1063
|
+
l1ToL2MessageTree: {
|
|
1064
|
+
root: string;
|
|
1065
|
+
nextAvailableLeafIndex: string | number | bigint;
|
|
1066
|
+
};
|
|
1030
1067
|
};
|
|
1031
1068
|
endGasUsed: {
|
|
1032
1069
|
daGas: string | number | bigint;
|
|
1033
1070
|
l2Gas: string | number | bigint;
|
|
1034
1071
|
};
|
|
1072
|
+
accumulatedDataArrayLengths: {
|
|
1073
|
+
noteHashes: number;
|
|
1074
|
+
nullifiers: number;
|
|
1075
|
+
l2ToL1Msgs: number;
|
|
1076
|
+
publicDataWrites: number;
|
|
1077
|
+
publicLogs: number;
|
|
1078
|
+
};
|
|
1035
1079
|
accumulatedData: {
|
|
1036
1080
|
noteHashes: string[];
|
|
1037
1081
|
nullifiers: string[];
|
|
1038
1082
|
l2ToL1Msgs: {
|
|
1039
1083
|
message: {
|
|
1040
|
-
counter: number;
|
|
1041
1084
|
recipient: string;
|
|
1042
1085
|
content: string;
|
|
1043
1086
|
};
|
|
1044
1087
|
contractAddress?: any;
|
|
1045
1088
|
}[];
|
|
1046
|
-
publicLogs: any[];
|
|
1047
1089
|
publicDataWrites: {
|
|
1048
1090
|
value: string;
|
|
1049
1091
|
leafSlot: string;
|
|
1050
1092
|
}[];
|
|
1093
|
+
publicLogs: any[];
|
|
1051
1094
|
};
|
|
1052
|
-
transactionFee: string;
|
|
1053
1095
|
reverted: boolean;
|
|
1054
1096
|
feePayer?: any;
|
|
1055
1097
|
}>;
|
|
1056
1098
|
static fromBuffer(buffer: Buffer | BufferReader): AvmCircuitPublicInputs;
|
|
1057
|
-
toBuffer(): Buffer
|
|
1099
|
+
toBuffer(): Buffer<ArrayBufferLike>;
|
|
1058
1100
|
static fromString(str: string): AvmCircuitPublicInputs;
|
|
1059
1101
|
toString(): `0x${string}`;
|
|
1060
1102
|
static fromFields(fields: Fr[] | FieldReader): AvmCircuitPublicInputs;
|
|
1103
|
+
toFields(): (number | boolean | AztecAddress | Fr | Fr[])[];
|
|
1061
1104
|
static empty(): AvmCircuitPublicInputs;
|
|
1062
1105
|
serializeWithMessagePack(): Buffer;
|
|
1063
1106
|
[inspect.custom](): string;
|