@aztec/stdlib 0.0.1-commit.e6bd8901 → 0.0.1-commit.ec5f612
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/decoder.d.ts +1 -1
- package/dest/abi/decoder.d.ts.map +1 -1
- package/dest/abi/decoder.js +1 -4
- package/dest/abi/encoder.d.ts +1 -1
- package/dest/abi/encoder.d.ts.map +1 -1
- package/dest/abi/encoder.js +9 -5
- package/dest/abi/function_call.d.ts +39 -9
- package/dest/abi/function_call.d.ts.map +1 -1
- package/dest/abi/function_call.js +20 -3
- package/dest/auth_witness/auth_witness.js +3 -3
- package/dest/avm/avm.d.ts +300 -300
- package/dest/avm/avm_proving_request.d.ts +166 -166
- package/dest/avm/revert_code.d.ts +16 -1
- package/dest/avm/revert_code.d.ts.map +1 -1
- package/dest/avm/revert_code.js +15 -5
- package/dest/block/block_data.d.ts +52 -0
- package/dest/block/block_data.d.ts.map +1 -0
- package/dest/block/block_data.js +12 -0
- package/dest/block/block_hash.d.ts +16 -18
- package/dest/block/block_hash.d.ts.map +1 -1
- package/dest/block/block_hash.js +21 -31
- package/dest/block/block_parameter.d.ts +4 -4
- package/dest/block/block_parameter.d.ts.map +1 -1
- package/dest/block/block_parameter.js +2 -2
- package/dest/block/in_block.d.ts +9 -9
- package/dest/block/in_block.d.ts.map +1 -1
- package/dest/block/in_block.js +5 -5
- package/dest/block/index.d.ts +2 -1
- package/dest/block/index.d.ts.map +1 -1
- package/dest/block/index.js +1 -0
- package/dest/block/l2_block.d.ts +3 -2
- package/dest/block/l2_block.d.ts.map +1 -1
- package/dest/block/l2_block_source.d.ts +24 -4
- package/dest/block/l2_block_source.d.ts.map +1 -1
- package/dest/block/l2_block_stream/l2_block_stream.d.ts +1 -1
- package/dest/block/l2_block_stream/l2_block_stream.d.ts.map +1 -1
- package/dest/block/l2_block_stream/l2_block_stream.js +10 -0
- package/dest/checkpoint/checkpoint.d.ts +21 -7
- package/dest/checkpoint/checkpoint.d.ts.map +1 -1
- package/dest/checkpoint/checkpoint.js +24 -13
- package/dest/checkpoint/checkpoint_data.d.ts +120 -0
- package/dest/checkpoint/checkpoint_data.d.ts.map +1 -0
- package/dest/checkpoint/checkpoint_data.js +26 -0
- package/dest/checkpoint/index.d.ts +2 -1
- package/dest/checkpoint/index.d.ts.map +1 -1
- package/dest/checkpoint/index.js +1 -0
- package/dest/checkpoint/published_checkpoint.d.ts +17 -2
- package/dest/checkpoint/published_checkpoint.d.ts.map +1 -1
- package/dest/checkpoint/published_checkpoint.js +1 -2
- package/dest/config/index.d.ts +2 -1
- package/dest/config/index.d.ts.map +1 -1
- package/dest/config/index.js +1 -0
- package/dest/config/sequencer-config.d.ts +10 -0
- package/dest/config/sequencer-config.d.ts.map +1 -0
- package/dest/config/sequencer-config.js +18 -0
- package/dest/contract/contract_address.js +4 -4
- package/dest/contract/contract_class.d.ts +2 -3
- package/dest/contract/contract_class.d.ts.map +1 -1
- package/dest/contract/contract_class_id.d.ts +2 -2
- package/dest/contract/contract_class_id.d.ts.map +1 -1
- package/dest/contract/contract_class_id.js +6 -5
- package/dest/contract/interfaces/node-info.d.ts +3 -1
- package/dest/contract/interfaces/node-info.d.ts.map +1 -1
- package/dest/contract/interfaces/node-info.js +2 -1
- package/dest/contract/private_function.js +2 -2
- package/dest/contract/private_function_membership_proof.d.ts +1 -1
- package/dest/contract/private_function_membership_proof.js +1 -1
- package/dest/database-version/database_version.d.ts +58 -0
- package/dest/database-version/database_version.d.ts.map +1 -0
- package/dest/database-version/database_version.js +69 -0
- package/dest/database-version/version_manager.d.ts +2 -50
- package/dest/database-version/version_manager.d.ts.map +1 -1
- package/dest/database-version/version_manager.js +1 -66
- package/dest/epoch-helpers/index.d.ts +7 -1
- package/dest/epoch-helpers/index.d.ts.map +1 -1
- package/dest/epoch-helpers/index.js +8 -2
- package/dest/file-store/local.d.ts +3 -3
- package/dest/file-store/local.d.ts.map +1 -1
- package/dest/file-store/local.js +13 -4
- package/dest/file-store/s3.d.ts +1 -1
- package/dest/file-store/s3.d.ts.map +1 -1
- package/dest/file-store/s3.js +11 -3
- package/dest/ha-signing/config.d.ts +101 -0
- package/dest/ha-signing/config.d.ts.map +1 -0
- package/dest/ha-signing/config.js +92 -0
- package/dest/ha-signing/index.d.ts +3 -0
- package/dest/ha-signing/index.d.ts.map +1 -0
- package/dest/ha-signing/index.js +2 -0
- package/dest/ha-signing/types.d.ts +85 -0
- package/dest/ha-signing/types.d.ts.map +1 -0
- package/dest/ha-signing/types.js +32 -0
- package/dest/hash/hash.d.ts +2 -1
- package/dest/hash/hash.d.ts.map +1 -1
- package/dest/hash/hash.js +16 -10
- package/dest/hash/map_slot.d.ts +1 -1
- package/dest/hash/map_slot.d.ts.map +1 -1
- package/dest/hash/map_slot.js +4 -3
- package/dest/interfaces/archiver.d.ts +1 -1
- package/dest/interfaces/archiver.d.ts.map +1 -1
- package/dest/interfaces/archiver.js +9 -3
- package/dest/interfaces/aztec-node-admin.d.ts +46 -3
- package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
- package/dest/interfaces/aztec-node-admin.js +12 -4
- package/dest/interfaces/aztec-node.d.ts +34 -55
- package/dest/interfaces/aztec-node.d.ts.map +1 -1
- package/dest/interfaces/aztec-node.js +6 -10
- package/dest/interfaces/block-builder.d.ts +10 -4
- package/dest/interfaces/block-builder.d.ts.map +1 -1
- package/dest/interfaces/block-builder.js +7 -0
- package/dest/interfaces/configs.d.ts +17 -2
- package/dest/interfaces/configs.d.ts.map +1 -1
- package/dest/interfaces/configs.js +4 -1
- package/dest/interfaces/get_logs_response.d.ts +15 -8
- package/dest/interfaces/get_logs_response.d.ts.map +1 -1
- package/dest/interfaces/merkle_tree_operations.d.ts +2 -2
- package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
- package/dest/interfaces/p2p.d.ts +4 -9
- package/dest/interfaces/p2p.d.ts.map +1 -1
- package/dest/interfaces/prover-broker.d.ts +16 -1
- package/dest/interfaces/prover-broker.d.ts.map +1 -1
- package/dest/interfaces/prover-broker.js +4 -1
- package/dest/interfaces/prover-client.d.ts +6 -1
- package/dest/interfaces/prover-client.d.ts.map +1 -1
- package/dest/interfaces/prover-client.js +5 -0
- package/dest/interfaces/proving-job.d.ts +202 -202
- package/dest/interfaces/slasher.d.ts +9 -1
- package/dest/interfaces/slasher.d.ts.map +1 -1
- package/dest/interfaces/slasher.js +2 -0
- package/dest/interfaces/validator.d.ts +51 -5
- package/dest/interfaces/validator.d.ts.map +1 -1
- package/dest/interfaces/validator.js +5 -2
- package/dest/kernel/hints/build_note_hash_read_request_hints.d.ts +3 -3
- 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 +13 -10
- package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts +3 -3
- package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts.map +1 -1
- package/dest/kernel/hints/build_nullifier_read_request_hints.js +13 -10
- package/dest/kernel/hints/build_transient_data_hints.d.ts +5 -2
- package/dest/kernel/hints/build_transient_data_hints.d.ts.map +1 -1
- package/dest/kernel/hints/build_transient_data_hints.js +9 -3
- package/dest/kernel/hints/index.d.ts +2 -2
- package/dest/kernel/hints/index.js +2 -2
- package/dest/kernel/hints/key_validation_request_and_separator.d.ts +24 -0
- package/dest/kernel/hints/key_validation_request_and_separator.d.ts.map +1 -0
- package/dest/kernel/hints/{key_validation_request_and_generator.js → key_validation_request_and_separator.js} +12 -15
- package/dest/kernel/hints/{scoped_key_validation_request_and_generator.d.ts → scoped_key_validation_request_and_separator.d.ts} +8 -8
- package/dest/kernel/hints/{scoped_key_validation_request_and_generator.d.ts.map → scoped_key_validation_request_and_separator.d.ts.map} +1 -1
- package/dest/kernel/hints/{scoped_key_validation_request_and_generator.js → scoped_key_validation_request_and_separator.js} +6 -6
- package/dest/kernel/private_circuit_public_inputs.d.ts +9 -9
- package/dest/kernel/private_circuit_public_inputs.d.ts.map +1 -1
- package/dest/kernel/private_circuit_public_inputs.js +16 -16
- package/dest/kernel/private_kernel_circuit_public_inputs.d.ts +3 -3
- package/dest/kernel/private_kernel_circuit_public_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_circuit_public_inputs.js +4 -4
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts +3 -3
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_tail_circuit_private_inputs.js +4 -4
- package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts +3 -3
- package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts.map +1 -1
- package/dest/kernel/private_kernel_tail_circuit_public_inputs.js +7 -7
- package/dest/kernel/private_to_public_kernel_circuit_public_inputs.d.ts +3 -3
- 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 +7 -7
- package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.d.ts +3 -3
- 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 +7 -7
- package/dest/kernel/private_validation_requests.d.ts +3 -3
- package/dest/kernel/private_validation_requests.js +9 -9
- package/dest/keys/derivation.d.ts +3 -3
- package/dest/keys/derivation.js +15 -15
- package/dest/keys/key_types.d.ts +3 -3
- package/dest/keys/key_types.d.ts.map +1 -1
- package/dest/keys/public_keys.js +2 -2
- package/dest/keys/utils.d.ts +1 -1
- package/dest/keys/utils.d.ts.map +1 -1
- package/dest/keys/utils.js +8 -4
- package/dest/l1-contracts/slash_factory.d.ts +1 -1
- package/dest/l1-contracts/slash_factory.d.ts.map +1 -1
- package/dest/l1-contracts/slash_factory.js +1 -0
- package/dest/logs/debug_log_store.d.ts +30 -0
- package/dest/logs/debug_log_store.d.ts.map +1 -0
- package/dest/logs/debug_log_store.js +30 -0
- package/dest/logs/extended_directional_app_tagging_secret.d.ts +47 -0
- package/dest/logs/extended_directional_app_tagging_secret.d.ts.map +1 -0
- package/dest/logs/{directional_app_tagging_secret.js → extended_directional_app_tagging_secret.js} +23 -15
- package/dest/logs/extended_public_log.d.ts +13 -7
- package/dest/logs/extended_public_log.d.ts.map +1 -1
- package/dest/logs/index.d.ts +3 -2
- package/dest/logs/index.d.ts.map +1 -1
- package/dest/logs/index.js +2 -1
- package/dest/logs/log_id.d.ts +17 -14
- package/dest/logs/log_id.d.ts.map +1 -1
- package/dest/logs/log_id.js +20 -17
- package/dest/logs/pre_tag.d.ts +16 -11
- package/dest/logs/pre_tag.d.ts.map +1 -1
- package/dest/logs/pre_tag.js +2 -2
- package/dest/logs/private_log.d.ts +2 -2
- package/dest/logs/private_log.d.ts.map +1 -1
- package/dest/logs/siloed_tag.d.ts +5 -3
- package/dest/logs/siloed_tag.d.ts.map +1 -1
- package/dest/logs/siloed_tag.js +8 -6
- package/dest/logs/tag.js +1 -1
- package/dest/messaging/l2_to_l1_membership.d.ts +2 -2
- package/dest/messaging/l2_to_l1_membership.js +3 -3
- package/dest/note/index.d.ts +1 -2
- package/dest/note/index.d.ts.map +1 -1
- package/dest/note/index.js +0 -1
- package/dest/p2p/attestation_utils.d.ts +11 -1
- package/dest/p2p/attestation_utils.d.ts.map +1 -1
- package/dest/p2p/attestation_utils.js +45 -0
- package/dest/p2p/block_proposal.d.ts +11 -4
- package/dest/p2p/block_proposal.d.ts.map +1 -1
- package/dest/p2p/block_proposal.js +2 -4
- package/dest/p2p/checkpoint_attestation.d.ts +2 -1
- package/dest/p2p/checkpoint_attestation.d.ts.map +1 -1
- package/dest/p2p/checkpoint_attestation.js +1 -1
- package/dest/p2p/checkpoint_proposal.d.ts +27 -8
- package/dest/p2p/checkpoint_proposal.d.ts.map +1 -1
- package/dest/p2p/checkpoint_proposal.js +30 -16
- package/dest/p2p/client_type.d.ts +2 -5
- package/dest/p2p/client_type.d.ts.map +1 -1
- package/dest/p2p/client_type.js +0 -7
- package/dest/p2p/consensus_payload.d.ts +12 -3
- package/dest/p2p/consensus_payload.d.ts.map +1 -1
- package/dest/p2p/consensus_payload.js +22 -15
- package/dest/p2p/constants.d.ts +3 -1
- package/dest/p2p/constants.d.ts.map +1 -1
- package/dest/p2p/constants.js +1 -0
- package/dest/p2p/index.d.ts +1 -2
- package/dest/p2p/index.d.ts.map +1 -1
- package/dest/p2p/index.js +0 -1
- package/dest/p2p/topic_type.d.ts +3 -4
- package/dest/p2p/topic_type.d.ts.map +1 -1
- package/dest/p2p/topic_type.js +7 -24
- package/dest/rollup/checkpoint_header.d.ts +2 -2
- package/dest/rollup/checkpoint_header.js +2 -2
- package/dest/rollup/checkpoint_rollup_public_inputs.d.ts +6 -6
- package/dest/rollup/checkpoint_rollup_public_inputs.d.ts.map +1 -1
- package/dest/rollup/checkpoint_rollup_public_inputs.js +2 -2
- package/dest/rollup/checkpoint_root_rollup_private_inputs.d.ts +2 -2
- package/dest/rollup/checkpoint_root_rollup_private_inputs.d.ts.map +1 -1
- package/dest/rollup/root_rollup_public_inputs.d.ts +6 -6
- package/dest/rollup/root_rollup_public_inputs.d.ts.map +1 -1
- package/dest/rollup/root_rollup_public_inputs.js +3 -3
- package/dest/slashing/empire.d.ts +1 -1
- package/dest/slashing/empire.d.ts.map +1 -1
- package/dest/slashing/empire.js +2 -0
- package/dest/slashing/helpers.d.ts +2 -2
- package/dest/slashing/helpers.d.ts.map +1 -1
- package/dest/slashing/helpers.js +6 -0
- package/dest/slashing/tally.d.ts +2 -1
- package/dest/slashing/tally.d.ts.map +1 -1
- package/dest/slashing/tally.js +6 -2
- package/dest/slashing/types.d.ts +7 -3
- package/dest/slashing/types.d.ts.map +1 -1
- package/dest/slashing/types.js +13 -1
- package/dest/stats/stats.d.ts +1 -3
- package/dest/stats/stats.d.ts.map +1 -1
- package/dest/tests/factories.d.ts +3 -1
- package/dest/tests/factories.d.ts.map +1 -1
- package/dest/tests/factories.js +21 -13
- package/dest/tests/mocks.d.ts +10 -3
- package/dest/tests/mocks.d.ts.map +1 -1
- package/dest/tests/mocks.js +22 -16
- package/dest/timetable/index.d.ts +37 -0
- package/dest/timetable/index.d.ts.map +1 -0
- package/dest/timetable/index.js +39 -0
- package/dest/trees/public_data_leaf.d.ts +2 -1
- package/dest/trees/public_data_leaf.d.ts.map +1 -1
- package/dest/trees/public_data_leaf.js +7 -6
- package/dest/tx/block_header.d.ts +3 -2
- package/dest/tx/block_header.d.ts.map +1 -1
- package/dest/tx/block_header.js +4 -3
- package/dest/tx/global_variables.d.ts +4 -4
- package/dest/tx/global_variables.d.ts.map +1 -1
- package/dest/tx/in_tx.d.ts +3 -3
- package/dest/tx/indexed_tx_effect.d.ts +5 -5
- package/dest/tx/indexed_tx_effect.d.ts.map +1 -1
- package/dest/tx/indexed_tx_effect.js +3 -2
- package/dest/tx/profiling.d.ts +4 -4
- package/dest/tx/profiling.d.ts.map +1 -1
- package/dest/tx/profiling.js +3 -3
- package/dest/tx/protocol_contracts.d.ts +1 -1
- package/dest/tx/protocol_contracts.d.ts.map +1 -1
- package/dest/tx/protocol_contracts.js +2 -2
- package/dest/tx/public_simulation_output.d.ts +4 -2
- package/dest/tx/public_simulation_output.d.ts.map +1 -1
- package/dest/tx/public_simulation_output.js +7 -3
- package/dest/tx/tx_receipt.d.ts +20 -6
- package/dest/tx/tx_receipt.d.ts.map +1 -1
- package/dest/tx/tx_receipt.js +13 -5
- package/dest/tx/tx_request.js +2 -2
- package/dest/tx/validator/empty_validator.d.ts +2 -2
- package/dest/tx/validator/empty_validator.d.ts.map +1 -1
- package/dest/tx/validator/error_texts.d.ts +1 -1
- package/dest/tx/validator/error_texts.js +1 -1
- package/dest/tx/validator/tx_validator.d.ts +2 -2
- package/dest/tx/validator/tx_validator.d.ts.map +1 -1
- package/dest/validators/schemas.d.ts +30 -30
- package/dest/validators/schemas.d.ts.map +1 -1
- package/dest/validators/schemas.js +4 -3
- package/dest/validators/types.d.ts +3 -3
- package/dest/validators/types.d.ts.map +1 -1
- package/package.json +25 -13
- package/src/abi/decoder.ts +1 -4
- package/src/abi/encoder.ts +8 -5
- package/src/abi/function_call.ts +25 -3
- package/src/auth_witness/auth_witness.ts +3 -3
- package/src/avm/revert_code.ts +15 -0
- package/src/block/block_data.ts +26 -0
- package/src/block/block_hash.ts +26 -47
- package/src/block/block_parameter.ts +3 -3
- package/src/block/in_block.ts +6 -6
- package/src/block/index.ts +1 -0
- package/src/block/l2_block.ts +2 -1
- package/src/block/l2_block_source.ts +26 -3
- package/src/block/l2_block_stream/l2_block_stream.ts +21 -0
- package/src/checkpoint/checkpoint.ts +32 -14
- package/src/checkpoint/checkpoint_data.ts +51 -0
- package/src/checkpoint/index.ts +1 -0
- package/src/checkpoint/published_checkpoint.ts +3 -1
- package/src/config/index.ts +1 -0
- package/src/config/sequencer-config.ts +29 -0
- package/src/contract/contract_address.ts +4 -4
- package/src/contract/contract_class.ts +3 -3
- package/src/contract/contract_class_id.ts +6 -5
- package/src/contract/interfaces/node-info.ts +3 -0
- package/src/contract/private_function.ts +2 -2
- package/src/contract/private_function_membership_proof.ts +1 -1
- package/src/database-version/database_version.ts +87 -0
- package/src/database-version/version_manager.ts +1 -77
- package/src/epoch-helpers/index.ts +12 -0
- package/src/file-store/local.ts +15 -5
- package/src/file-store/s3.ts +12 -3
- package/src/ha-signing/config.ts +149 -0
- package/src/ha-signing/index.ts +18 -0
- package/src/ha-signing/types.ts +112 -0
- package/src/hash/hash.ts +14 -10
- package/src/hash/map_slot.ts +3 -2
- package/src/interfaces/archiver.ts +9 -3
- package/src/interfaces/aztec-node-admin.ts +26 -2
- package/src/interfaces/aztec-node.ts +43 -94
- package/src/interfaces/block-builder.ts +13 -2
- package/src/interfaces/configs.ts +12 -1
- package/src/interfaces/merkle_tree_operations.ts +1 -1
- package/src/interfaces/p2p.ts +3 -14
- package/src/interfaces/prover-broker.ts +22 -0
- package/src/interfaces/prover-client.ts +7 -0
- package/src/interfaces/slasher.ts +4 -0
- package/src/interfaces/validator.ts +13 -4
- package/src/kernel/hints/build_note_hash_read_request_hints.ts +14 -18
- package/src/kernel/hints/build_nullifier_read_request_hints.ts +15 -18
- package/src/kernel/hints/build_transient_data_hints.ts +17 -2
- package/src/kernel/hints/index.ts +2 -2
- package/src/kernel/hints/{key_validation_request_and_generator.ts → key_validation_request_and_separator.ts} +12 -15
- package/src/kernel/hints/{scoped_key_validation_request_and_generator.ts → scoped_key_validation_request_and_separator.ts} +10 -10
- package/src/kernel/private_circuit_public_inputs.ts +14 -14
- package/src/kernel/private_kernel_circuit_public_inputs.ts +2 -2
- package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +2 -2
- package/src/kernel/private_kernel_tail_circuit_public_inputs.ts +5 -5
- package/src/kernel/private_to_public_kernel_circuit_public_inputs.ts +5 -5
- package/src/kernel/private_to_rollup_kernel_circuit_public_inputs.ts +5 -5
- package/src/kernel/private_validation_requests.ts +8 -8
- package/src/keys/derivation.ts +15 -15
- package/src/keys/key_types.ts +6 -2
- package/src/keys/public_keys.ts +2 -2
- package/src/keys/utils.ts +8 -4
- package/src/l1-contracts/slash_factory.ts +1 -0
- package/src/logs/debug_log_store.ts +54 -0
- package/src/logs/{directional_app_tagging_secret.ts → extended_directional_app_tagging_secret.ts} +24 -16
- package/src/logs/index.ts +2 -1
- package/src/logs/log_id.ts +22 -18
- package/src/logs/pre_tag.ts +5 -5
- package/src/logs/siloed_tag.ts +10 -4
- package/src/logs/tag.ts +1 -1
- package/src/messaging/l2_to_l1_membership.ts +3 -3
- package/src/note/index.ts +0 -1
- package/src/p2p/attestation_utils.ts +56 -0
- package/src/p2p/block_proposal.ts +10 -5
- package/src/p2p/checkpoint_attestation.ts +6 -1
- package/src/p2p/checkpoint_proposal.ts +55 -16
- package/src/p2p/client_type.ts +0 -6
- package/src/p2p/consensus_payload.ts +25 -12
- package/src/p2p/constants.ts +3 -0
- package/src/p2p/index.ts +0 -1
- package/src/p2p/topic_type.ts +8 -15
- package/src/rollup/checkpoint_header.ts +2 -2
- package/src/rollup/checkpoint_rollup_public_inputs.ts +5 -5
- package/src/rollup/root_rollup_public_inputs.ts +7 -7
- package/src/slashing/empire.ts +3 -1
- package/src/slashing/helpers.ts +8 -0
- package/src/slashing/tally.ts +8 -2
- package/src/slashing/types.ts +14 -0
- package/src/stats/stats.ts +0 -2
- package/src/tests/factories.ts +26 -17
- package/src/tests/mocks.ts +34 -17
- package/src/timetable/index.ts +66 -0
- package/src/trees/public_data_leaf.ts +11 -5
- package/src/tx/block_header.ts +8 -5
- package/src/tx/global_variables.ts +3 -3
- package/src/tx/indexed_tx_effect.ts +3 -2
- package/src/tx/profiling.ts +5 -5
- package/src/tx/protocol_contracts.ts +2 -2
- package/src/tx/public_simulation_output.ts +4 -0
- package/src/tx/tx_receipt.ts +14 -4
- package/src/tx/tx_request.ts +2 -2
- package/src/tx/validator/empty_validator.ts +1 -1
- package/src/tx/validator/error_texts.ts +1 -1
- package/src/tx/validator/tx_validator.ts +1 -1
- package/src/validators/schemas.ts +8 -1
- package/src/validators/types.ts +5 -4
- package/dest/database-version/index.d.ts +0 -2
- package/dest/database-version/index.d.ts.map +0 -1
- package/dest/database-version/index.js +0 -1
- package/dest/kernel/hints/key_validation_request_and_generator.d.ts +0 -30
- package/dest/kernel/hints/key_validation_request_and_generator.d.ts.map +0 -1
- package/dest/logs/directional_app_tagging_secret.d.ts +0 -40
- package/dest/logs/directional_app_tagging_secret.d.ts.map +0 -1
- package/dest/note/notes_filter.d.ts +0 -27
- package/dest/note/notes_filter.d.ts.map +0 -1
- package/dest/note/notes_filter.js +0 -11
- package/src/database-version/index.ts +0 -1
- package/src/note/notes_filter.ts +0 -38
|
@@ -1075,14 +1075,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1075
1075
|
index: string | number | bigint;
|
|
1076
1076
|
leafPreimage: {
|
|
1077
1077
|
leaf: {
|
|
1078
|
-
|
|
1079
|
-
value: string;
|
|
1078
|
+
nullifier: string;
|
|
1080
1079
|
};
|
|
1081
1080
|
nextKey: string;
|
|
1082
1081
|
nextIndex: string | number | bigint;
|
|
1083
1082
|
} | {
|
|
1084
1083
|
leaf: {
|
|
1085
|
-
|
|
1084
|
+
slot: string;
|
|
1085
|
+
value: string;
|
|
1086
1086
|
};
|
|
1087
1087
|
nextKey: string;
|
|
1088
1088
|
nextIndex: string | number | bigint;
|
|
@@ -1099,14 +1099,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1099
1099
|
index: string | number | bigint;
|
|
1100
1100
|
leafPreimage: {
|
|
1101
1101
|
leaf: {
|
|
1102
|
-
|
|
1103
|
-
value: string;
|
|
1102
|
+
nullifier: string;
|
|
1104
1103
|
};
|
|
1105
1104
|
nextKey: string;
|
|
1106
1105
|
nextIndex: string | number | bigint;
|
|
1107
1106
|
} | {
|
|
1108
1107
|
leaf: {
|
|
1109
|
-
|
|
1108
|
+
slot: string;
|
|
1109
|
+
value: string;
|
|
1110
1110
|
};
|
|
1111
1111
|
nextKey: string;
|
|
1112
1112
|
nextIndex: string | number | bigint;
|
|
@@ -1202,14 +1202,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1202
1202
|
index: string | number | bigint;
|
|
1203
1203
|
leafPreimage: {
|
|
1204
1204
|
leaf: {
|
|
1205
|
-
|
|
1206
|
-
value: string;
|
|
1205
|
+
nullifier: string;
|
|
1207
1206
|
};
|
|
1208
1207
|
nextKey: string;
|
|
1209
1208
|
nextIndex: string | number | bigint;
|
|
1210
1209
|
} | {
|
|
1211
1210
|
leaf: {
|
|
1212
|
-
|
|
1211
|
+
slot: string;
|
|
1212
|
+
value: string;
|
|
1213
1213
|
};
|
|
1214
1214
|
nextKey: string;
|
|
1215
1215
|
nextIndex: string | number | bigint;
|
|
@@ -1226,14 +1226,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1226
1226
|
index: string | number | bigint;
|
|
1227
1227
|
leafPreimage: {
|
|
1228
1228
|
leaf: {
|
|
1229
|
-
|
|
1230
|
-
value: string;
|
|
1229
|
+
nullifier: string;
|
|
1231
1230
|
};
|
|
1232
1231
|
nextKey: string;
|
|
1233
1232
|
nextIndex: string | number | bigint;
|
|
1234
1233
|
} | {
|
|
1235
1234
|
leaf: {
|
|
1236
|
-
|
|
1235
|
+
slot: string;
|
|
1236
|
+
value: string;
|
|
1237
1237
|
};
|
|
1238
1238
|
nextKey: string;
|
|
1239
1239
|
nextIndex: string | number | bigint;
|
|
@@ -1400,14 +1400,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1400
1400
|
}, {
|
|
1401
1401
|
leaf: {
|
|
1402
1402
|
leaf: {
|
|
1403
|
-
|
|
1404
|
-
value: string;
|
|
1403
|
+
nullifier: string;
|
|
1405
1404
|
};
|
|
1406
1405
|
nextKey: string;
|
|
1407
1406
|
nextIndex: string | number | bigint;
|
|
1408
1407
|
} | {
|
|
1409
1408
|
leaf: {
|
|
1410
|
-
|
|
1409
|
+
slot: string;
|
|
1410
|
+
value: string;
|
|
1411
1411
|
};
|
|
1412
1412
|
nextKey: string;
|
|
1413
1413
|
nextIndex: string | number | bigint;
|
|
@@ -1488,14 +1488,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1488
1488
|
}, {
|
|
1489
1489
|
leaf: {
|
|
1490
1490
|
leaf: {
|
|
1491
|
-
|
|
1492
|
-
value: string;
|
|
1491
|
+
nullifier: string;
|
|
1493
1492
|
};
|
|
1494
1493
|
nextKey: string;
|
|
1495
1494
|
nextIndex: string | number | bigint;
|
|
1496
1495
|
} | {
|
|
1497
1496
|
leaf: {
|
|
1498
|
-
|
|
1497
|
+
slot: string;
|
|
1498
|
+
value: string;
|
|
1499
1499
|
};
|
|
1500
1500
|
nextKey: string;
|
|
1501
1501
|
nextIndex: string | number | bigint;
|
|
@@ -1529,22 +1529,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1529
1529
|
};
|
|
1530
1530
|
treeId: number;
|
|
1531
1531
|
leaf: {
|
|
1532
|
+
nullifier: string;
|
|
1533
|
+
} | {
|
|
1532
1534
|
slot: string;
|
|
1533
1535
|
value: string;
|
|
1534
|
-
} | {
|
|
1535
|
-
nullifier: string;
|
|
1536
1536
|
};
|
|
1537
1537
|
lowLeavesWitnessData: {
|
|
1538
1538
|
leaf: {
|
|
1539
1539
|
leaf: {
|
|
1540
|
-
|
|
1541
|
-
value: string;
|
|
1540
|
+
nullifier: string;
|
|
1542
1541
|
};
|
|
1543
1542
|
nextKey: string;
|
|
1544
1543
|
nextIndex: string | number | bigint;
|
|
1545
1544
|
} | {
|
|
1546
1545
|
leaf: {
|
|
1547
|
-
|
|
1546
|
+
slot: string;
|
|
1547
|
+
value: string;
|
|
1548
1548
|
};
|
|
1549
1549
|
nextKey: string;
|
|
1550
1550
|
nextIndex: string | number | bigint;
|
|
@@ -1555,14 +1555,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1555
1555
|
insertionWitnessData: {
|
|
1556
1556
|
leaf: {
|
|
1557
1557
|
leaf: {
|
|
1558
|
-
|
|
1559
|
-
value: string;
|
|
1558
|
+
nullifier: string;
|
|
1560
1559
|
};
|
|
1561
1560
|
nextKey: string;
|
|
1562
1561
|
nextIndex: string | number | bigint;
|
|
1563
1562
|
} | {
|
|
1564
1563
|
leaf: {
|
|
1565
|
-
|
|
1564
|
+
slot: string;
|
|
1565
|
+
value: string;
|
|
1566
1566
|
};
|
|
1567
1567
|
nextKey: string;
|
|
1568
1568
|
nextIndex: string | number | bigint;
|
|
@@ -1596,22 +1596,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1596
1596
|
};
|
|
1597
1597
|
treeId: number;
|
|
1598
1598
|
leaf: {
|
|
1599
|
+
nullifier: string;
|
|
1600
|
+
} | {
|
|
1599
1601
|
slot: string;
|
|
1600
1602
|
value: string;
|
|
1601
|
-
} | {
|
|
1602
|
-
nullifier: string;
|
|
1603
1603
|
};
|
|
1604
1604
|
lowLeavesWitnessData: {
|
|
1605
1605
|
leaf: {
|
|
1606
1606
|
leaf: {
|
|
1607
|
-
|
|
1608
|
-
value: string;
|
|
1607
|
+
nullifier: string;
|
|
1609
1608
|
};
|
|
1610
1609
|
nextKey: string;
|
|
1611
1610
|
nextIndex: string | number | bigint;
|
|
1612
1611
|
} | {
|
|
1613
1612
|
leaf: {
|
|
1614
|
-
|
|
1613
|
+
slot: string;
|
|
1614
|
+
value: string;
|
|
1615
1615
|
};
|
|
1616
1616
|
nextKey: string;
|
|
1617
1617
|
nextIndex: string | number | bigint;
|
|
@@ -1622,14 +1622,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1622
1622
|
insertionWitnessData: {
|
|
1623
1623
|
leaf: {
|
|
1624
1624
|
leaf: {
|
|
1625
|
-
|
|
1626
|
-
value: string;
|
|
1625
|
+
nullifier: string;
|
|
1627
1626
|
};
|
|
1628
1627
|
nextKey: string;
|
|
1629
1628
|
nextIndex: string | number | bigint;
|
|
1630
1629
|
} | {
|
|
1631
1630
|
leaf: {
|
|
1632
|
-
|
|
1631
|
+
slot: string;
|
|
1632
|
+
value: string;
|
|
1633
1633
|
};
|
|
1634
1634
|
nextKey: string;
|
|
1635
1635
|
nextIndex: string | number | bigint;
|
|
@@ -1760,14 +1760,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1760
1760
|
}, {
|
|
1761
1761
|
leaf: {
|
|
1762
1762
|
leaf: {
|
|
1763
|
-
|
|
1764
|
-
value: string;
|
|
1763
|
+
nullifier: string;
|
|
1765
1764
|
};
|
|
1766
1765
|
nextKey: string;
|
|
1767
1766
|
nextIndex: string | number | bigint;
|
|
1768
1767
|
} | {
|
|
1769
1768
|
leaf: {
|
|
1770
|
-
|
|
1769
|
+
slot: string;
|
|
1770
|
+
value: string;
|
|
1771
1771
|
};
|
|
1772
1772
|
nextKey: string;
|
|
1773
1773
|
nextIndex: string | number | bigint;
|
|
@@ -1848,14 +1848,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1848
1848
|
}, {
|
|
1849
1849
|
leaf: {
|
|
1850
1850
|
leaf: {
|
|
1851
|
-
|
|
1852
|
-
value: string;
|
|
1851
|
+
nullifier: string;
|
|
1853
1852
|
};
|
|
1854
1853
|
nextKey: string;
|
|
1855
1854
|
nextIndex: string | number | bigint;
|
|
1856
1855
|
} | {
|
|
1857
1856
|
leaf: {
|
|
1858
|
-
|
|
1857
|
+
slot: string;
|
|
1858
|
+
value: string;
|
|
1859
1859
|
};
|
|
1860
1860
|
nextKey: string;
|
|
1861
1861
|
nextIndex: string | number | bigint;
|
|
@@ -1889,22 +1889,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1889
1889
|
};
|
|
1890
1890
|
treeId: number;
|
|
1891
1891
|
leaf: {
|
|
1892
|
+
nullifier: string;
|
|
1893
|
+
} | {
|
|
1892
1894
|
slot: string;
|
|
1893
1895
|
value: string;
|
|
1894
|
-
} | {
|
|
1895
|
-
nullifier: string;
|
|
1896
1896
|
};
|
|
1897
1897
|
lowLeavesWitnessData: {
|
|
1898
1898
|
leaf: {
|
|
1899
1899
|
leaf: {
|
|
1900
|
-
|
|
1901
|
-
value: string;
|
|
1900
|
+
nullifier: string;
|
|
1902
1901
|
};
|
|
1903
1902
|
nextKey: string;
|
|
1904
1903
|
nextIndex: string | number | bigint;
|
|
1905
1904
|
} | {
|
|
1906
1905
|
leaf: {
|
|
1907
|
-
|
|
1906
|
+
slot: string;
|
|
1907
|
+
value: string;
|
|
1908
1908
|
};
|
|
1909
1909
|
nextKey: string;
|
|
1910
1910
|
nextIndex: string | number | bigint;
|
|
@@ -1915,14 +1915,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1915
1915
|
insertionWitnessData: {
|
|
1916
1916
|
leaf: {
|
|
1917
1917
|
leaf: {
|
|
1918
|
-
|
|
1919
|
-
value: string;
|
|
1918
|
+
nullifier: string;
|
|
1920
1919
|
};
|
|
1921
1920
|
nextKey: string;
|
|
1922
1921
|
nextIndex: string | number | bigint;
|
|
1923
1922
|
} | {
|
|
1924
1923
|
leaf: {
|
|
1925
|
-
|
|
1924
|
+
slot: string;
|
|
1925
|
+
value: string;
|
|
1926
1926
|
};
|
|
1927
1927
|
nextKey: string;
|
|
1928
1928
|
nextIndex: string | number | bigint;
|
|
@@ -1956,22 +1956,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1956
1956
|
};
|
|
1957
1957
|
treeId: number;
|
|
1958
1958
|
leaf: {
|
|
1959
|
+
nullifier: string;
|
|
1960
|
+
} | {
|
|
1959
1961
|
slot: string;
|
|
1960
1962
|
value: string;
|
|
1961
|
-
} | {
|
|
1962
|
-
nullifier: string;
|
|
1963
1963
|
};
|
|
1964
1964
|
lowLeavesWitnessData: {
|
|
1965
1965
|
leaf: {
|
|
1966
1966
|
leaf: {
|
|
1967
|
-
|
|
1968
|
-
value: string;
|
|
1967
|
+
nullifier: string;
|
|
1969
1968
|
};
|
|
1970
1969
|
nextKey: string;
|
|
1971
1970
|
nextIndex: string | number | bigint;
|
|
1972
1971
|
} | {
|
|
1973
1972
|
leaf: {
|
|
1974
|
-
|
|
1973
|
+
slot: string;
|
|
1974
|
+
value: string;
|
|
1975
1975
|
};
|
|
1976
1976
|
nextKey: string;
|
|
1977
1977
|
nextIndex: string | number | bigint;
|
|
@@ -1982,14 +1982,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
1982
1982
|
insertionWitnessData: {
|
|
1983
1983
|
leaf: {
|
|
1984
1984
|
leaf: {
|
|
1985
|
-
|
|
1986
|
-
value: string;
|
|
1985
|
+
nullifier: string;
|
|
1987
1986
|
};
|
|
1988
1987
|
nextKey: string;
|
|
1989
1988
|
nextIndex: string | number | bigint;
|
|
1990
1989
|
} | {
|
|
1991
1990
|
leaf: {
|
|
1992
|
-
|
|
1991
|
+
slot: string;
|
|
1992
|
+
value: string;
|
|
1993
1993
|
};
|
|
1994
1994
|
nextKey: string;
|
|
1995
1995
|
nextIndex: string | number | bigint;
|
|
@@ -2645,14 +2645,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2645
2645
|
index: string | number | bigint;
|
|
2646
2646
|
leafPreimage: {
|
|
2647
2647
|
leaf: {
|
|
2648
|
-
|
|
2649
|
-
value: string;
|
|
2648
|
+
nullifier: string;
|
|
2650
2649
|
};
|
|
2651
2650
|
nextKey: string;
|
|
2652
2651
|
nextIndex: string | number | bigint;
|
|
2653
2652
|
} | {
|
|
2654
2653
|
leaf: {
|
|
2655
|
-
|
|
2654
|
+
slot: string;
|
|
2655
|
+
value: string;
|
|
2656
2656
|
};
|
|
2657
2657
|
nextKey: string;
|
|
2658
2658
|
nextIndex: string | number | bigint;
|
|
@@ -2666,14 +2666,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2666
2666
|
index: string | number | bigint;
|
|
2667
2667
|
leafPreimage: {
|
|
2668
2668
|
leaf: {
|
|
2669
|
-
|
|
2670
|
-
value: string;
|
|
2669
|
+
nullifier: string;
|
|
2671
2670
|
};
|
|
2672
2671
|
nextKey: string;
|
|
2673
2672
|
nextIndex: string | number | bigint;
|
|
2674
2673
|
} | {
|
|
2675
2674
|
leaf: {
|
|
2676
|
-
|
|
2675
|
+
slot: string;
|
|
2676
|
+
value: string;
|
|
2677
2677
|
};
|
|
2678
2678
|
nextKey: string;
|
|
2679
2679
|
nextIndex: string | number | bigint;
|
|
@@ -2699,22 +2699,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2699
2699
|
};
|
|
2700
2700
|
treeId: number;
|
|
2701
2701
|
leaf: {
|
|
2702
|
+
nullifier: string;
|
|
2703
|
+
} | {
|
|
2702
2704
|
slot: string;
|
|
2703
2705
|
value: string;
|
|
2704
|
-
} | {
|
|
2705
|
-
nullifier: string;
|
|
2706
2706
|
};
|
|
2707
2707
|
lowLeavesWitnessData: {
|
|
2708
2708
|
leaf: {
|
|
2709
2709
|
leaf: {
|
|
2710
|
-
|
|
2711
|
-
value: string;
|
|
2710
|
+
nullifier: string;
|
|
2712
2711
|
};
|
|
2713
2712
|
nextKey: string;
|
|
2714
2713
|
nextIndex: string | number | bigint;
|
|
2715
2714
|
} | {
|
|
2716
2715
|
leaf: {
|
|
2717
|
-
|
|
2716
|
+
slot: string;
|
|
2717
|
+
value: string;
|
|
2718
2718
|
};
|
|
2719
2719
|
nextKey: string;
|
|
2720
2720
|
nextIndex: string | number | bigint;
|
|
@@ -2725,14 +2725,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2725
2725
|
insertionWitnessData: {
|
|
2726
2726
|
leaf: {
|
|
2727
2727
|
leaf: {
|
|
2728
|
-
|
|
2729
|
-
value: string;
|
|
2728
|
+
nullifier: string;
|
|
2730
2729
|
};
|
|
2731
2730
|
nextKey: string;
|
|
2732
2731
|
nextIndex: string | number | bigint;
|
|
2733
2732
|
} | {
|
|
2734
2733
|
leaf: {
|
|
2735
|
-
|
|
2734
|
+
slot: string;
|
|
2735
|
+
value: string;
|
|
2736
2736
|
};
|
|
2737
2737
|
nextKey: string;
|
|
2738
2738
|
nextIndex: string | number | bigint;
|
|
@@ -2752,22 +2752,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2752
2752
|
};
|
|
2753
2753
|
treeId: number;
|
|
2754
2754
|
leaf: {
|
|
2755
|
+
nullifier: string;
|
|
2756
|
+
} | {
|
|
2755
2757
|
slot: string;
|
|
2756
2758
|
value: string;
|
|
2757
|
-
} | {
|
|
2758
|
-
nullifier: string;
|
|
2759
2759
|
};
|
|
2760
2760
|
lowLeavesWitnessData: {
|
|
2761
2761
|
leaf: {
|
|
2762
2762
|
leaf: {
|
|
2763
|
-
|
|
2764
|
-
value: string;
|
|
2763
|
+
nullifier: string;
|
|
2765
2764
|
};
|
|
2766
2765
|
nextKey: string;
|
|
2767
2766
|
nextIndex: string | number | bigint;
|
|
2768
2767
|
} | {
|
|
2769
2768
|
leaf: {
|
|
2770
|
-
|
|
2769
|
+
slot: string;
|
|
2770
|
+
value: string;
|
|
2771
2771
|
};
|
|
2772
2772
|
nextKey: string;
|
|
2773
2773
|
nextIndex: string | number | bigint;
|
|
@@ -2778,14 +2778,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
2778
2778
|
insertionWitnessData: {
|
|
2779
2779
|
leaf: {
|
|
2780
2780
|
leaf: {
|
|
2781
|
-
|
|
2782
|
-
value: string;
|
|
2781
|
+
nullifier: string;
|
|
2783
2782
|
};
|
|
2784
2783
|
nextKey: string;
|
|
2785
2784
|
nextIndex: string | number | bigint;
|
|
2786
2785
|
} | {
|
|
2787
2786
|
leaf: {
|
|
2788
|
-
|
|
2787
|
+
slot: string;
|
|
2788
|
+
value: string;
|
|
2789
2789
|
};
|
|
2790
2790
|
nextKey: string;
|
|
2791
2791
|
nextIndex: string | number | bigint;
|
|
@@ -3047,14 +3047,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3047
3047
|
index: string | number | bigint;
|
|
3048
3048
|
leafPreimage: {
|
|
3049
3049
|
leaf: {
|
|
3050
|
-
|
|
3051
|
-
value: string;
|
|
3050
|
+
nullifier: string;
|
|
3052
3051
|
};
|
|
3053
3052
|
nextKey: string;
|
|
3054
3053
|
nextIndex: string | number | bigint;
|
|
3055
3054
|
} | {
|
|
3056
3055
|
leaf: {
|
|
3057
|
-
|
|
3056
|
+
slot: string;
|
|
3057
|
+
value: string;
|
|
3058
3058
|
};
|
|
3059
3059
|
nextKey: string;
|
|
3060
3060
|
nextIndex: string | number | bigint;
|
|
@@ -3068,14 +3068,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3068
3068
|
index: string | number | bigint;
|
|
3069
3069
|
leafPreimage: {
|
|
3070
3070
|
leaf: {
|
|
3071
|
-
|
|
3072
|
-
value: string;
|
|
3071
|
+
nullifier: string;
|
|
3073
3072
|
};
|
|
3074
3073
|
nextKey: string;
|
|
3075
3074
|
nextIndex: string | number | bigint;
|
|
3076
3075
|
} | {
|
|
3077
3076
|
leaf: {
|
|
3078
|
-
|
|
3077
|
+
slot: string;
|
|
3078
|
+
value: string;
|
|
3079
3079
|
};
|
|
3080
3080
|
nextKey: string;
|
|
3081
3081
|
nextIndex: string | number | bigint;
|
|
@@ -3101,22 +3101,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3101
3101
|
};
|
|
3102
3102
|
treeId: number;
|
|
3103
3103
|
leaf: {
|
|
3104
|
+
nullifier: string;
|
|
3105
|
+
} | {
|
|
3104
3106
|
slot: string;
|
|
3105
3107
|
value: string;
|
|
3106
|
-
} | {
|
|
3107
|
-
nullifier: string;
|
|
3108
3108
|
};
|
|
3109
3109
|
lowLeavesWitnessData: {
|
|
3110
3110
|
leaf: {
|
|
3111
3111
|
leaf: {
|
|
3112
|
-
|
|
3113
|
-
value: string;
|
|
3112
|
+
nullifier: string;
|
|
3114
3113
|
};
|
|
3115
3114
|
nextKey: string;
|
|
3116
3115
|
nextIndex: string | number | bigint;
|
|
3117
3116
|
} | {
|
|
3118
3117
|
leaf: {
|
|
3119
|
-
|
|
3118
|
+
slot: string;
|
|
3119
|
+
value: string;
|
|
3120
3120
|
};
|
|
3121
3121
|
nextKey: string;
|
|
3122
3122
|
nextIndex: string | number | bigint;
|
|
@@ -3127,14 +3127,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3127
3127
|
insertionWitnessData: {
|
|
3128
3128
|
leaf: {
|
|
3129
3129
|
leaf: {
|
|
3130
|
-
|
|
3131
|
-
value: string;
|
|
3130
|
+
nullifier: string;
|
|
3132
3131
|
};
|
|
3133
3132
|
nextKey: string;
|
|
3134
3133
|
nextIndex: string | number | bigint;
|
|
3135
3134
|
} | {
|
|
3136
3135
|
leaf: {
|
|
3137
|
-
|
|
3136
|
+
slot: string;
|
|
3137
|
+
value: string;
|
|
3138
3138
|
};
|
|
3139
3139
|
nextKey: string;
|
|
3140
3140
|
nextIndex: string | number | bigint;
|
|
@@ -3154,22 +3154,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3154
3154
|
};
|
|
3155
3155
|
treeId: number;
|
|
3156
3156
|
leaf: {
|
|
3157
|
+
nullifier: string;
|
|
3158
|
+
} | {
|
|
3157
3159
|
slot: string;
|
|
3158
3160
|
value: string;
|
|
3159
|
-
} | {
|
|
3160
|
-
nullifier: string;
|
|
3161
3161
|
};
|
|
3162
3162
|
lowLeavesWitnessData: {
|
|
3163
3163
|
leaf: {
|
|
3164
3164
|
leaf: {
|
|
3165
|
-
|
|
3166
|
-
value: string;
|
|
3165
|
+
nullifier: string;
|
|
3167
3166
|
};
|
|
3168
3167
|
nextKey: string;
|
|
3169
3168
|
nextIndex: string | number | bigint;
|
|
3170
3169
|
} | {
|
|
3171
3170
|
leaf: {
|
|
3172
|
-
|
|
3171
|
+
slot: string;
|
|
3172
|
+
value: string;
|
|
3173
3173
|
};
|
|
3174
3174
|
nextKey: string;
|
|
3175
3175
|
nextIndex: string | number | bigint;
|
|
@@ -3180,14 +3180,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
3180
3180
|
insertionWitnessData: {
|
|
3181
3181
|
leaf: {
|
|
3182
3182
|
leaf: {
|
|
3183
|
-
|
|
3184
|
-
value: string;
|
|
3183
|
+
nullifier: string;
|
|
3185
3184
|
};
|
|
3186
3185
|
nextKey: string;
|
|
3187
3186
|
nextIndex: string | number | bigint;
|
|
3188
3187
|
} | {
|
|
3189
3188
|
leaf: {
|
|
3190
|
-
|
|
3189
|
+
slot: string;
|
|
3190
|
+
value: string;
|
|
3191
3191
|
};
|
|
3192
3192
|
nextKey: string;
|
|
3193
3193
|
nextIndex: string | number | bigint;
|
|
@@ -4535,14 +4535,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4535
4535
|
index: string | number | bigint;
|
|
4536
4536
|
leafPreimage: {
|
|
4537
4537
|
leaf: {
|
|
4538
|
-
|
|
4539
|
-
value: string;
|
|
4538
|
+
nullifier: string;
|
|
4540
4539
|
};
|
|
4541
4540
|
nextKey: string;
|
|
4542
4541
|
nextIndex: string | number | bigint;
|
|
4543
4542
|
} | {
|
|
4544
4543
|
leaf: {
|
|
4545
|
-
|
|
4544
|
+
slot: string;
|
|
4545
|
+
value: string;
|
|
4546
4546
|
};
|
|
4547
4547
|
nextKey: string;
|
|
4548
4548
|
nextIndex: string | number | bigint;
|
|
@@ -4556,14 +4556,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4556
4556
|
index: string | number | bigint;
|
|
4557
4557
|
leafPreimage: {
|
|
4558
4558
|
leaf: {
|
|
4559
|
-
|
|
4560
|
-
value: string;
|
|
4559
|
+
nullifier: string;
|
|
4561
4560
|
};
|
|
4562
4561
|
nextKey: string;
|
|
4563
4562
|
nextIndex: string | number | bigint;
|
|
4564
4563
|
} | {
|
|
4565
4564
|
leaf: {
|
|
4566
|
-
|
|
4565
|
+
slot: string;
|
|
4566
|
+
value: string;
|
|
4567
4567
|
};
|
|
4568
4568
|
nextKey: string;
|
|
4569
4569
|
nextIndex: string | number | bigint;
|
|
@@ -4589,22 +4589,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4589
4589
|
};
|
|
4590
4590
|
treeId: number;
|
|
4591
4591
|
leaf: {
|
|
4592
|
+
nullifier: string;
|
|
4593
|
+
} | {
|
|
4592
4594
|
slot: string;
|
|
4593
4595
|
value: string;
|
|
4594
|
-
} | {
|
|
4595
|
-
nullifier: string;
|
|
4596
4596
|
};
|
|
4597
4597
|
lowLeavesWitnessData: {
|
|
4598
4598
|
leaf: {
|
|
4599
4599
|
leaf: {
|
|
4600
|
-
|
|
4601
|
-
value: string;
|
|
4600
|
+
nullifier: string;
|
|
4602
4601
|
};
|
|
4603
4602
|
nextKey: string;
|
|
4604
4603
|
nextIndex: string | number | bigint;
|
|
4605
4604
|
} | {
|
|
4606
4605
|
leaf: {
|
|
4607
|
-
|
|
4606
|
+
slot: string;
|
|
4607
|
+
value: string;
|
|
4608
4608
|
};
|
|
4609
4609
|
nextKey: string;
|
|
4610
4610
|
nextIndex: string | number | bigint;
|
|
@@ -4615,14 +4615,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4615
4615
|
insertionWitnessData: {
|
|
4616
4616
|
leaf: {
|
|
4617
4617
|
leaf: {
|
|
4618
|
-
|
|
4619
|
-
value: string;
|
|
4618
|
+
nullifier: string;
|
|
4620
4619
|
};
|
|
4621
4620
|
nextKey: string;
|
|
4622
4621
|
nextIndex: string | number | bigint;
|
|
4623
4622
|
} | {
|
|
4624
4623
|
leaf: {
|
|
4625
|
-
|
|
4624
|
+
slot: string;
|
|
4625
|
+
value: string;
|
|
4626
4626
|
};
|
|
4627
4627
|
nextKey: string;
|
|
4628
4628
|
nextIndex: string | number | bigint;
|
|
@@ -4642,22 +4642,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4642
4642
|
};
|
|
4643
4643
|
treeId: number;
|
|
4644
4644
|
leaf: {
|
|
4645
|
+
nullifier: string;
|
|
4646
|
+
} | {
|
|
4645
4647
|
slot: string;
|
|
4646
4648
|
value: string;
|
|
4647
|
-
} | {
|
|
4648
|
-
nullifier: string;
|
|
4649
4649
|
};
|
|
4650
4650
|
lowLeavesWitnessData: {
|
|
4651
4651
|
leaf: {
|
|
4652
4652
|
leaf: {
|
|
4653
|
-
|
|
4654
|
-
value: string;
|
|
4653
|
+
nullifier: string;
|
|
4655
4654
|
};
|
|
4656
4655
|
nextKey: string;
|
|
4657
4656
|
nextIndex: string | number | bigint;
|
|
4658
4657
|
} | {
|
|
4659
4658
|
leaf: {
|
|
4660
|
-
|
|
4659
|
+
slot: string;
|
|
4660
|
+
value: string;
|
|
4661
4661
|
};
|
|
4662
4662
|
nextKey: string;
|
|
4663
4663
|
nextIndex: string | number | bigint;
|
|
@@ -4668,14 +4668,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
4668
4668
|
insertionWitnessData: {
|
|
4669
4669
|
leaf: {
|
|
4670
4670
|
leaf: {
|
|
4671
|
-
|
|
4672
|
-
value: string;
|
|
4671
|
+
nullifier: string;
|
|
4673
4672
|
};
|
|
4674
4673
|
nextKey: string;
|
|
4675
4674
|
nextIndex: string | number | bigint;
|
|
4676
4675
|
} | {
|
|
4677
4676
|
leaf: {
|
|
4678
|
-
|
|
4677
|
+
slot: string;
|
|
4678
|
+
value: string;
|
|
4679
4679
|
};
|
|
4680
4680
|
nextKey: string;
|
|
4681
4681
|
nextIndex: string | number | bigint;
|
|
@@ -5104,14 +5104,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5104
5104
|
index: string | number | bigint;
|
|
5105
5105
|
leafPreimage: {
|
|
5106
5106
|
leaf: {
|
|
5107
|
-
|
|
5108
|
-
value: string;
|
|
5107
|
+
nullifier: string;
|
|
5109
5108
|
};
|
|
5110
5109
|
nextKey: string;
|
|
5111
5110
|
nextIndex: string | number | bigint;
|
|
5112
5111
|
} | {
|
|
5113
5112
|
leaf: {
|
|
5114
|
-
|
|
5113
|
+
slot: string;
|
|
5114
|
+
value: string;
|
|
5115
5115
|
};
|
|
5116
5116
|
nextKey: string;
|
|
5117
5117
|
nextIndex: string | number | bigint;
|
|
@@ -5125,14 +5125,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5125
5125
|
index: string | number | bigint;
|
|
5126
5126
|
leafPreimage: {
|
|
5127
5127
|
leaf: {
|
|
5128
|
-
|
|
5129
|
-
value: string;
|
|
5128
|
+
nullifier: string;
|
|
5130
5129
|
};
|
|
5131
5130
|
nextKey: string;
|
|
5132
5131
|
nextIndex: string | number | bigint;
|
|
5133
5132
|
} | {
|
|
5134
5133
|
leaf: {
|
|
5135
|
-
|
|
5134
|
+
slot: string;
|
|
5135
|
+
value: string;
|
|
5136
5136
|
};
|
|
5137
5137
|
nextKey: string;
|
|
5138
5138
|
nextIndex: string | number | bigint;
|
|
@@ -5158,22 +5158,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5158
5158
|
};
|
|
5159
5159
|
treeId: number;
|
|
5160
5160
|
leaf: {
|
|
5161
|
+
nullifier: string;
|
|
5162
|
+
} | {
|
|
5161
5163
|
slot: string;
|
|
5162
5164
|
value: string;
|
|
5163
|
-
} | {
|
|
5164
|
-
nullifier: string;
|
|
5165
5165
|
};
|
|
5166
5166
|
lowLeavesWitnessData: {
|
|
5167
5167
|
leaf: {
|
|
5168
5168
|
leaf: {
|
|
5169
|
-
|
|
5170
|
-
value: string;
|
|
5169
|
+
nullifier: string;
|
|
5171
5170
|
};
|
|
5172
5171
|
nextKey: string;
|
|
5173
5172
|
nextIndex: string | number | bigint;
|
|
5174
5173
|
} | {
|
|
5175
5174
|
leaf: {
|
|
5176
|
-
|
|
5175
|
+
slot: string;
|
|
5176
|
+
value: string;
|
|
5177
5177
|
};
|
|
5178
5178
|
nextKey: string;
|
|
5179
5179
|
nextIndex: string | number | bigint;
|
|
@@ -5184,14 +5184,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5184
5184
|
insertionWitnessData: {
|
|
5185
5185
|
leaf: {
|
|
5186
5186
|
leaf: {
|
|
5187
|
-
|
|
5188
|
-
value: string;
|
|
5187
|
+
nullifier: string;
|
|
5189
5188
|
};
|
|
5190
5189
|
nextKey: string;
|
|
5191
5190
|
nextIndex: string | number | bigint;
|
|
5192
5191
|
} | {
|
|
5193
5192
|
leaf: {
|
|
5194
|
-
|
|
5193
|
+
slot: string;
|
|
5194
|
+
value: string;
|
|
5195
5195
|
};
|
|
5196
5196
|
nextKey: string;
|
|
5197
5197
|
nextIndex: string | number | bigint;
|
|
@@ -5211,22 +5211,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5211
5211
|
};
|
|
5212
5212
|
treeId: number;
|
|
5213
5213
|
leaf: {
|
|
5214
|
+
nullifier: string;
|
|
5215
|
+
} | {
|
|
5214
5216
|
slot: string;
|
|
5215
5217
|
value: string;
|
|
5216
|
-
} | {
|
|
5217
|
-
nullifier: string;
|
|
5218
5218
|
};
|
|
5219
5219
|
lowLeavesWitnessData: {
|
|
5220
5220
|
leaf: {
|
|
5221
5221
|
leaf: {
|
|
5222
|
-
|
|
5223
|
-
value: string;
|
|
5222
|
+
nullifier: string;
|
|
5224
5223
|
};
|
|
5225
5224
|
nextKey: string;
|
|
5226
5225
|
nextIndex: string | number | bigint;
|
|
5227
5226
|
} | {
|
|
5228
5227
|
leaf: {
|
|
5229
|
-
|
|
5228
|
+
slot: string;
|
|
5229
|
+
value: string;
|
|
5230
5230
|
};
|
|
5231
5231
|
nextKey: string;
|
|
5232
5232
|
nextIndex: string | number | bigint;
|
|
@@ -5237,14 +5237,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5237
5237
|
insertionWitnessData: {
|
|
5238
5238
|
leaf: {
|
|
5239
5239
|
leaf: {
|
|
5240
|
-
|
|
5241
|
-
value: string;
|
|
5240
|
+
nullifier: string;
|
|
5242
5241
|
};
|
|
5243
5242
|
nextKey: string;
|
|
5244
5243
|
nextIndex: string | number | bigint;
|
|
5245
5244
|
} | {
|
|
5246
5245
|
leaf: {
|
|
5247
|
-
|
|
5246
|
+
slot: string;
|
|
5247
|
+
value: string;
|
|
5248
5248
|
};
|
|
5249
5249
|
nextKey: string;
|
|
5250
5250
|
nextIndex: string | number | bigint;
|
|
@@ -5679,14 +5679,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5679
5679
|
index: string | number | bigint;
|
|
5680
5680
|
leafPreimage: {
|
|
5681
5681
|
leaf: {
|
|
5682
|
-
|
|
5683
|
-
value: string;
|
|
5682
|
+
nullifier: string;
|
|
5684
5683
|
};
|
|
5685
5684
|
nextKey: string;
|
|
5686
5685
|
nextIndex: string | number | bigint;
|
|
5687
5686
|
} | {
|
|
5688
5687
|
leaf: {
|
|
5689
|
-
|
|
5688
|
+
slot: string;
|
|
5689
|
+
value: string;
|
|
5690
5690
|
};
|
|
5691
5691
|
nextKey: string;
|
|
5692
5692
|
nextIndex: string | number | bigint;
|
|
@@ -5700,14 +5700,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5700
5700
|
index: string | number | bigint;
|
|
5701
5701
|
leafPreimage: {
|
|
5702
5702
|
leaf: {
|
|
5703
|
-
|
|
5704
|
-
value: string;
|
|
5703
|
+
nullifier: string;
|
|
5705
5704
|
};
|
|
5706
5705
|
nextKey: string;
|
|
5707
5706
|
nextIndex: string | number | bigint;
|
|
5708
5707
|
} | {
|
|
5709
5708
|
leaf: {
|
|
5710
|
-
|
|
5709
|
+
slot: string;
|
|
5710
|
+
value: string;
|
|
5711
5711
|
};
|
|
5712
5712
|
nextKey: string;
|
|
5713
5713
|
nextIndex: string | number | bigint;
|
|
@@ -5733,22 +5733,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5733
5733
|
};
|
|
5734
5734
|
treeId: number;
|
|
5735
5735
|
leaf: {
|
|
5736
|
+
nullifier: string;
|
|
5737
|
+
} | {
|
|
5736
5738
|
slot: string;
|
|
5737
5739
|
value: string;
|
|
5738
|
-
} | {
|
|
5739
|
-
nullifier: string;
|
|
5740
5740
|
};
|
|
5741
5741
|
lowLeavesWitnessData: {
|
|
5742
5742
|
leaf: {
|
|
5743
5743
|
leaf: {
|
|
5744
|
-
|
|
5745
|
-
value: string;
|
|
5744
|
+
nullifier: string;
|
|
5746
5745
|
};
|
|
5747
5746
|
nextKey: string;
|
|
5748
5747
|
nextIndex: string | number | bigint;
|
|
5749
5748
|
} | {
|
|
5750
5749
|
leaf: {
|
|
5751
|
-
|
|
5750
|
+
slot: string;
|
|
5751
|
+
value: string;
|
|
5752
5752
|
};
|
|
5753
5753
|
nextKey: string;
|
|
5754
5754
|
nextIndex: string | number | bigint;
|
|
@@ -5759,14 +5759,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5759
5759
|
insertionWitnessData: {
|
|
5760
5760
|
leaf: {
|
|
5761
5761
|
leaf: {
|
|
5762
|
-
|
|
5763
|
-
value: string;
|
|
5762
|
+
nullifier: string;
|
|
5764
5763
|
};
|
|
5765
5764
|
nextKey: string;
|
|
5766
5765
|
nextIndex: string | number | bigint;
|
|
5767
5766
|
} | {
|
|
5768
5767
|
leaf: {
|
|
5769
|
-
|
|
5768
|
+
slot: string;
|
|
5769
|
+
value: string;
|
|
5770
5770
|
};
|
|
5771
5771
|
nextKey: string;
|
|
5772
5772
|
nextIndex: string | number | bigint;
|
|
@@ -5786,22 +5786,22 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5786
5786
|
};
|
|
5787
5787
|
treeId: number;
|
|
5788
5788
|
leaf: {
|
|
5789
|
+
nullifier: string;
|
|
5790
|
+
} | {
|
|
5789
5791
|
slot: string;
|
|
5790
5792
|
value: string;
|
|
5791
|
-
} | {
|
|
5792
|
-
nullifier: string;
|
|
5793
5793
|
};
|
|
5794
5794
|
lowLeavesWitnessData: {
|
|
5795
5795
|
leaf: {
|
|
5796
5796
|
leaf: {
|
|
5797
|
-
|
|
5798
|
-
value: string;
|
|
5797
|
+
nullifier: string;
|
|
5799
5798
|
};
|
|
5800
5799
|
nextKey: string;
|
|
5801
5800
|
nextIndex: string | number | bigint;
|
|
5802
5801
|
} | {
|
|
5803
5802
|
leaf: {
|
|
5804
|
-
|
|
5803
|
+
slot: string;
|
|
5804
|
+
value: string;
|
|
5805
5805
|
};
|
|
5806
5806
|
nextKey: string;
|
|
5807
5807
|
nextIndex: string | number | bigint;
|
|
@@ -5812,14 +5812,14 @@ export declare const AvmProvingRequestSchema: z.ZodObject<{
|
|
|
5812
5812
|
insertionWitnessData: {
|
|
5813
5813
|
leaf: {
|
|
5814
5814
|
leaf: {
|
|
5815
|
-
|
|
5816
|
-
value: string;
|
|
5815
|
+
nullifier: string;
|
|
5817
5816
|
};
|
|
5818
5817
|
nextKey: string;
|
|
5819
5818
|
nextIndex: string | number | bigint;
|
|
5820
5819
|
} | {
|
|
5821
5820
|
leaf: {
|
|
5822
|
-
|
|
5821
|
+
slot: string;
|
|
5822
|
+
value: string;
|
|
5823
5823
|
};
|
|
5824
5824
|
nextKey: string;
|
|
5825
5825
|
nextIndex: string | number | bigint;
|