@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.
Files changed (423) hide show
  1. package/dest/abi/decoder.d.ts +1 -1
  2. package/dest/abi/decoder.d.ts.map +1 -1
  3. package/dest/abi/decoder.js +1 -4
  4. package/dest/abi/encoder.d.ts +1 -1
  5. package/dest/abi/encoder.d.ts.map +1 -1
  6. package/dest/abi/encoder.js +9 -5
  7. package/dest/abi/function_call.d.ts +39 -9
  8. package/dest/abi/function_call.d.ts.map +1 -1
  9. package/dest/abi/function_call.js +20 -3
  10. package/dest/auth_witness/auth_witness.js +3 -3
  11. package/dest/avm/avm.d.ts +300 -300
  12. package/dest/avm/avm_proving_request.d.ts +166 -166
  13. package/dest/avm/revert_code.d.ts +16 -1
  14. package/dest/avm/revert_code.d.ts.map +1 -1
  15. package/dest/avm/revert_code.js +15 -5
  16. package/dest/block/block_data.d.ts +52 -0
  17. package/dest/block/block_data.d.ts.map +1 -0
  18. package/dest/block/block_data.js +12 -0
  19. package/dest/block/block_hash.d.ts +16 -18
  20. package/dest/block/block_hash.d.ts.map +1 -1
  21. package/dest/block/block_hash.js +21 -31
  22. package/dest/block/block_parameter.d.ts +4 -4
  23. package/dest/block/block_parameter.d.ts.map +1 -1
  24. package/dest/block/block_parameter.js +2 -2
  25. package/dest/block/in_block.d.ts +9 -9
  26. package/dest/block/in_block.d.ts.map +1 -1
  27. package/dest/block/in_block.js +5 -5
  28. package/dest/block/index.d.ts +2 -1
  29. package/dest/block/index.d.ts.map +1 -1
  30. package/dest/block/index.js +1 -0
  31. package/dest/block/l2_block.d.ts +3 -2
  32. package/dest/block/l2_block.d.ts.map +1 -1
  33. package/dest/block/l2_block_source.d.ts +24 -4
  34. package/dest/block/l2_block_source.d.ts.map +1 -1
  35. package/dest/block/l2_block_stream/l2_block_stream.d.ts +1 -1
  36. package/dest/block/l2_block_stream/l2_block_stream.d.ts.map +1 -1
  37. package/dest/block/l2_block_stream/l2_block_stream.js +10 -0
  38. package/dest/checkpoint/checkpoint.d.ts +21 -7
  39. package/dest/checkpoint/checkpoint.d.ts.map +1 -1
  40. package/dest/checkpoint/checkpoint.js +24 -13
  41. package/dest/checkpoint/checkpoint_data.d.ts +120 -0
  42. package/dest/checkpoint/checkpoint_data.d.ts.map +1 -0
  43. package/dest/checkpoint/checkpoint_data.js +26 -0
  44. package/dest/checkpoint/index.d.ts +2 -1
  45. package/dest/checkpoint/index.d.ts.map +1 -1
  46. package/dest/checkpoint/index.js +1 -0
  47. package/dest/checkpoint/published_checkpoint.d.ts +17 -2
  48. package/dest/checkpoint/published_checkpoint.d.ts.map +1 -1
  49. package/dest/checkpoint/published_checkpoint.js +1 -2
  50. package/dest/config/index.d.ts +2 -1
  51. package/dest/config/index.d.ts.map +1 -1
  52. package/dest/config/index.js +1 -0
  53. package/dest/config/sequencer-config.d.ts +10 -0
  54. package/dest/config/sequencer-config.d.ts.map +1 -0
  55. package/dest/config/sequencer-config.js +18 -0
  56. package/dest/contract/contract_address.js +4 -4
  57. package/dest/contract/contract_class.d.ts +2 -3
  58. package/dest/contract/contract_class.d.ts.map +1 -1
  59. package/dest/contract/contract_class_id.d.ts +2 -2
  60. package/dest/contract/contract_class_id.d.ts.map +1 -1
  61. package/dest/contract/contract_class_id.js +6 -5
  62. package/dest/contract/interfaces/node-info.d.ts +3 -1
  63. package/dest/contract/interfaces/node-info.d.ts.map +1 -1
  64. package/dest/contract/interfaces/node-info.js +2 -1
  65. package/dest/contract/private_function.js +2 -2
  66. package/dest/contract/private_function_membership_proof.d.ts +1 -1
  67. package/dest/contract/private_function_membership_proof.js +1 -1
  68. package/dest/database-version/database_version.d.ts +58 -0
  69. package/dest/database-version/database_version.d.ts.map +1 -0
  70. package/dest/database-version/database_version.js +69 -0
  71. package/dest/database-version/version_manager.d.ts +2 -50
  72. package/dest/database-version/version_manager.d.ts.map +1 -1
  73. package/dest/database-version/version_manager.js +1 -66
  74. package/dest/epoch-helpers/index.d.ts +7 -1
  75. package/dest/epoch-helpers/index.d.ts.map +1 -1
  76. package/dest/epoch-helpers/index.js +8 -2
  77. package/dest/file-store/local.d.ts +3 -3
  78. package/dest/file-store/local.d.ts.map +1 -1
  79. package/dest/file-store/local.js +13 -4
  80. package/dest/file-store/s3.d.ts +1 -1
  81. package/dest/file-store/s3.d.ts.map +1 -1
  82. package/dest/file-store/s3.js +11 -3
  83. package/dest/ha-signing/config.d.ts +101 -0
  84. package/dest/ha-signing/config.d.ts.map +1 -0
  85. package/dest/ha-signing/config.js +92 -0
  86. package/dest/ha-signing/index.d.ts +3 -0
  87. package/dest/ha-signing/index.d.ts.map +1 -0
  88. package/dest/ha-signing/index.js +2 -0
  89. package/dest/ha-signing/types.d.ts +85 -0
  90. package/dest/ha-signing/types.d.ts.map +1 -0
  91. package/dest/ha-signing/types.js +32 -0
  92. package/dest/hash/hash.d.ts +2 -1
  93. package/dest/hash/hash.d.ts.map +1 -1
  94. package/dest/hash/hash.js +16 -10
  95. package/dest/hash/map_slot.d.ts +1 -1
  96. package/dest/hash/map_slot.d.ts.map +1 -1
  97. package/dest/hash/map_slot.js +4 -3
  98. package/dest/interfaces/archiver.d.ts +1 -1
  99. package/dest/interfaces/archiver.d.ts.map +1 -1
  100. package/dest/interfaces/archiver.js +9 -3
  101. package/dest/interfaces/aztec-node-admin.d.ts +46 -3
  102. package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
  103. package/dest/interfaces/aztec-node-admin.js +12 -4
  104. package/dest/interfaces/aztec-node.d.ts +34 -55
  105. package/dest/interfaces/aztec-node.d.ts.map +1 -1
  106. package/dest/interfaces/aztec-node.js +6 -10
  107. package/dest/interfaces/block-builder.d.ts +10 -4
  108. package/dest/interfaces/block-builder.d.ts.map +1 -1
  109. package/dest/interfaces/block-builder.js +7 -0
  110. package/dest/interfaces/configs.d.ts +17 -2
  111. package/dest/interfaces/configs.d.ts.map +1 -1
  112. package/dest/interfaces/configs.js +4 -1
  113. package/dest/interfaces/get_logs_response.d.ts +15 -8
  114. package/dest/interfaces/get_logs_response.d.ts.map +1 -1
  115. package/dest/interfaces/merkle_tree_operations.d.ts +2 -2
  116. package/dest/interfaces/merkle_tree_operations.d.ts.map +1 -1
  117. package/dest/interfaces/p2p.d.ts +4 -9
  118. package/dest/interfaces/p2p.d.ts.map +1 -1
  119. package/dest/interfaces/prover-broker.d.ts +16 -1
  120. package/dest/interfaces/prover-broker.d.ts.map +1 -1
  121. package/dest/interfaces/prover-broker.js +4 -1
  122. package/dest/interfaces/prover-client.d.ts +6 -1
  123. package/dest/interfaces/prover-client.d.ts.map +1 -1
  124. package/dest/interfaces/prover-client.js +5 -0
  125. package/dest/interfaces/proving-job.d.ts +202 -202
  126. package/dest/interfaces/slasher.d.ts +9 -1
  127. package/dest/interfaces/slasher.d.ts.map +1 -1
  128. package/dest/interfaces/slasher.js +2 -0
  129. package/dest/interfaces/validator.d.ts +51 -5
  130. package/dest/interfaces/validator.d.ts.map +1 -1
  131. package/dest/interfaces/validator.js +5 -2
  132. package/dest/kernel/hints/build_note_hash_read_request_hints.d.ts +3 -3
  133. package/dest/kernel/hints/build_note_hash_read_request_hints.d.ts.map +1 -1
  134. package/dest/kernel/hints/build_note_hash_read_request_hints.js +13 -10
  135. package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts +3 -3
  136. package/dest/kernel/hints/build_nullifier_read_request_hints.d.ts.map +1 -1
  137. package/dest/kernel/hints/build_nullifier_read_request_hints.js +13 -10
  138. package/dest/kernel/hints/build_transient_data_hints.d.ts +5 -2
  139. package/dest/kernel/hints/build_transient_data_hints.d.ts.map +1 -1
  140. package/dest/kernel/hints/build_transient_data_hints.js +9 -3
  141. package/dest/kernel/hints/index.d.ts +2 -2
  142. package/dest/kernel/hints/index.js +2 -2
  143. package/dest/kernel/hints/key_validation_request_and_separator.d.ts +24 -0
  144. package/dest/kernel/hints/key_validation_request_and_separator.d.ts.map +1 -0
  145. package/dest/kernel/hints/{key_validation_request_and_generator.js → key_validation_request_and_separator.js} +12 -15
  146. package/dest/kernel/hints/{scoped_key_validation_request_and_generator.d.ts → scoped_key_validation_request_and_separator.d.ts} +8 -8
  147. package/dest/kernel/hints/{scoped_key_validation_request_and_generator.d.ts.map → scoped_key_validation_request_and_separator.d.ts.map} +1 -1
  148. package/dest/kernel/hints/{scoped_key_validation_request_and_generator.js → scoped_key_validation_request_and_separator.js} +6 -6
  149. package/dest/kernel/private_circuit_public_inputs.d.ts +9 -9
  150. package/dest/kernel/private_circuit_public_inputs.d.ts.map +1 -1
  151. package/dest/kernel/private_circuit_public_inputs.js +16 -16
  152. package/dest/kernel/private_kernel_circuit_public_inputs.d.ts +3 -3
  153. package/dest/kernel/private_kernel_circuit_public_inputs.d.ts.map +1 -1
  154. package/dest/kernel/private_kernel_circuit_public_inputs.js +4 -4
  155. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts +3 -3
  156. package/dest/kernel/private_kernel_tail_circuit_private_inputs.d.ts.map +1 -1
  157. package/dest/kernel/private_kernel_tail_circuit_private_inputs.js +4 -4
  158. package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts +3 -3
  159. package/dest/kernel/private_kernel_tail_circuit_public_inputs.d.ts.map +1 -1
  160. package/dest/kernel/private_kernel_tail_circuit_public_inputs.js +7 -7
  161. package/dest/kernel/private_to_public_kernel_circuit_public_inputs.d.ts +3 -3
  162. package/dest/kernel/private_to_public_kernel_circuit_public_inputs.d.ts.map +1 -1
  163. package/dest/kernel/private_to_public_kernel_circuit_public_inputs.js +7 -7
  164. package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.d.ts +3 -3
  165. package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.d.ts.map +1 -1
  166. package/dest/kernel/private_to_rollup_kernel_circuit_public_inputs.js +7 -7
  167. package/dest/kernel/private_validation_requests.d.ts +3 -3
  168. package/dest/kernel/private_validation_requests.js +9 -9
  169. package/dest/keys/derivation.d.ts +3 -3
  170. package/dest/keys/derivation.js +15 -15
  171. package/dest/keys/key_types.d.ts +3 -3
  172. package/dest/keys/key_types.d.ts.map +1 -1
  173. package/dest/keys/public_keys.js +2 -2
  174. package/dest/keys/utils.d.ts +1 -1
  175. package/dest/keys/utils.d.ts.map +1 -1
  176. package/dest/keys/utils.js +8 -4
  177. package/dest/l1-contracts/slash_factory.d.ts +1 -1
  178. package/dest/l1-contracts/slash_factory.d.ts.map +1 -1
  179. package/dest/l1-contracts/slash_factory.js +1 -0
  180. package/dest/logs/debug_log_store.d.ts +30 -0
  181. package/dest/logs/debug_log_store.d.ts.map +1 -0
  182. package/dest/logs/debug_log_store.js +30 -0
  183. package/dest/logs/extended_directional_app_tagging_secret.d.ts +47 -0
  184. package/dest/logs/extended_directional_app_tagging_secret.d.ts.map +1 -0
  185. package/dest/logs/{directional_app_tagging_secret.js → extended_directional_app_tagging_secret.js} +23 -15
  186. package/dest/logs/extended_public_log.d.ts +13 -7
  187. package/dest/logs/extended_public_log.d.ts.map +1 -1
  188. package/dest/logs/index.d.ts +3 -2
  189. package/dest/logs/index.d.ts.map +1 -1
  190. package/dest/logs/index.js +2 -1
  191. package/dest/logs/log_id.d.ts +17 -14
  192. package/dest/logs/log_id.d.ts.map +1 -1
  193. package/dest/logs/log_id.js +20 -17
  194. package/dest/logs/pre_tag.d.ts +16 -11
  195. package/dest/logs/pre_tag.d.ts.map +1 -1
  196. package/dest/logs/pre_tag.js +2 -2
  197. package/dest/logs/private_log.d.ts +2 -2
  198. package/dest/logs/private_log.d.ts.map +1 -1
  199. package/dest/logs/siloed_tag.d.ts +5 -3
  200. package/dest/logs/siloed_tag.d.ts.map +1 -1
  201. package/dest/logs/siloed_tag.js +8 -6
  202. package/dest/logs/tag.js +1 -1
  203. package/dest/messaging/l2_to_l1_membership.d.ts +2 -2
  204. package/dest/messaging/l2_to_l1_membership.js +3 -3
  205. package/dest/note/index.d.ts +1 -2
  206. package/dest/note/index.d.ts.map +1 -1
  207. package/dest/note/index.js +0 -1
  208. package/dest/p2p/attestation_utils.d.ts +11 -1
  209. package/dest/p2p/attestation_utils.d.ts.map +1 -1
  210. package/dest/p2p/attestation_utils.js +45 -0
  211. package/dest/p2p/block_proposal.d.ts +11 -4
  212. package/dest/p2p/block_proposal.d.ts.map +1 -1
  213. package/dest/p2p/block_proposal.js +2 -4
  214. package/dest/p2p/checkpoint_attestation.d.ts +2 -1
  215. package/dest/p2p/checkpoint_attestation.d.ts.map +1 -1
  216. package/dest/p2p/checkpoint_attestation.js +1 -1
  217. package/dest/p2p/checkpoint_proposal.d.ts +27 -8
  218. package/dest/p2p/checkpoint_proposal.d.ts.map +1 -1
  219. package/dest/p2p/checkpoint_proposal.js +30 -16
  220. package/dest/p2p/client_type.d.ts +2 -5
  221. package/dest/p2p/client_type.d.ts.map +1 -1
  222. package/dest/p2p/client_type.js +0 -7
  223. package/dest/p2p/consensus_payload.d.ts +12 -3
  224. package/dest/p2p/consensus_payload.d.ts.map +1 -1
  225. package/dest/p2p/consensus_payload.js +22 -15
  226. package/dest/p2p/constants.d.ts +3 -1
  227. package/dest/p2p/constants.d.ts.map +1 -1
  228. package/dest/p2p/constants.js +1 -0
  229. package/dest/p2p/index.d.ts +1 -2
  230. package/dest/p2p/index.d.ts.map +1 -1
  231. package/dest/p2p/index.js +0 -1
  232. package/dest/p2p/topic_type.d.ts +3 -4
  233. package/dest/p2p/topic_type.d.ts.map +1 -1
  234. package/dest/p2p/topic_type.js +7 -24
  235. package/dest/rollup/checkpoint_header.d.ts +2 -2
  236. package/dest/rollup/checkpoint_header.js +2 -2
  237. package/dest/rollup/checkpoint_rollup_public_inputs.d.ts +6 -6
  238. package/dest/rollup/checkpoint_rollup_public_inputs.d.ts.map +1 -1
  239. package/dest/rollup/checkpoint_rollup_public_inputs.js +2 -2
  240. package/dest/rollup/checkpoint_root_rollup_private_inputs.d.ts +2 -2
  241. package/dest/rollup/checkpoint_root_rollup_private_inputs.d.ts.map +1 -1
  242. package/dest/rollup/root_rollup_public_inputs.d.ts +6 -6
  243. package/dest/rollup/root_rollup_public_inputs.d.ts.map +1 -1
  244. package/dest/rollup/root_rollup_public_inputs.js +3 -3
  245. package/dest/slashing/empire.d.ts +1 -1
  246. package/dest/slashing/empire.d.ts.map +1 -1
  247. package/dest/slashing/empire.js +2 -0
  248. package/dest/slashing/helpers.d.ts +2 -2
  249. package/dest/slashing/helpers.d.ts.map +1 -1
  250. package/dest/slashing/helpers.js +6 -0
  251. package/dest/slashing/tally.d.ts +2 -1
  252. package/dest/slashing/tally.d.ts.map +1 -1
  253. package/dest/slashing/tally.js +6 -2
  254. package/dest/slashing/types.d.ts +7 -3
  255. package/dest/slashing/types.d.ts.map +1 -1
  256. package/dest/slashing/types.js +13 -1
  257. package/dest/stats/stats.d.ts +1 -3
  258. package/dest/stats/stats.d.ts.map +1 -1
  259. package/dest/tests/factories.d.ts +3 -1
  260. package/dest/tests/factories.d.ts.map +1 -1
  261. package/dest/tests/factories.js +21 -13
  262. package/dest/tests/mocks.d.ts +10 -3
  263. package/dest/tests/mocks.d.ts.map +1 -1
  264. package/dest/tests/mocks.js +22 -16
  265. package/dest/timetable/index.d.ts +37 -0
  266. package/dest/timetable/index.d.ts.map +1 -0
  267. package/dest/timetable/index.js +39 -0
  268. package/dest/trees/public_data_leaf.d.ts +2 -1
  269. package/dest/trees/public_data_leaf.d.ts.map +1 -1
  270. package/dest/trees/public_data_leaf.js +7 -6
  271. package/dest/tx/block_header.d.ts +3 -2
  272. package/dest/tx/block_header.d.ts.map +1 -1
  273. package/dest/tx/block_header.js +4 -3
  274. package/dest/tx/global_variables.d.ts +4 -4
  275. package/dest/tx/global_variables.d.ts.map +1 -1
  276. package/dest/tx/in_tx.d.ts +3 -3
  277. package/dest/tx/indexed_tx_effect.d.ts +5 -5
  278. package/dest/tx/indexed_tx_effect.d.ts.map +1 -1
  279. package/dest/tx/indexed_tx_effect.js +3 -2
  280. package/dest/tx/profiling.d.ts +4 -4
  281. package/dest/tx/profiling.d.ts.map +1 -1
  282. package/dest/tx/profiling.js +3 -3
  283. package/dest/tx/protocol_contracts.d.ts +1 -1
  284. package/dest/tx/protocol_contracts.d.ts.map +1 -1
  285. package/dest/tx/protocol_contracts.js +2 -2
  286. package/dest/tx/public_simulation_output.d.ts +4 -2
  287. package/dest/tx/public_simulation_output.d.ts.map +1 -1
  288. package/dest/tx/public_simulation_output.js +7 -3
  289. package/dest/tx/tx_receipt.d.ts +20 -6
  290. package/dest/tx/tx_receipt.d.ts.map +1 -1
  291. package/dest/tx/tx_receipt.js +13 -5
  292. package/dest/tx/tx_request.js +2 -2
  293. package/dest/tx/validator/empty_validator.d.ts +2 -2
  294. package/dest/tx/validator/empty_validator.d.ts.map +1 -1
  295. package/dest/tx/validator/error_texts.d.ts +1 -1
  296. package/dest/tx/validator/error_texts.js +1 -1
  297. package/dest/tx/validator/tx_validator.d.ts +2 -2
  298. package/dest/tx/validator/tx_validator.d.ts.map +1 -1
  299. package/dest/validators/schemas.d.ts +30 -30
  300. package/dest/validators/schemas.d.ts.map +1 -1
  301. package/dest/validators/schemas.js +4 -3
  302. package/dest/validators/types.d.ts +3 -3
  303. package/dest/validators/types.d.ts.map +1 -1
  304. package/package.json +25 -13
  305. package/src/abi/decoder.ts +1 -4
  306. package/src/abi/encoder.ts +8 -5
  307. package/src/abi/function_call.ts +25 -3
  308. package/src/auth_witness/auth_witness.ts +3 -3
  309. package/src/avm/revert_code.ts +15 -0
  310. package/src/block/block_data.ts +26 -0
  311. package/src/block/block_hash.ts +26 -47
  312. package/src/block/block_parameter.ts +3 -3
  313. package/src/block/in_block.ts +6 -6
  314. package/src/block/index.ts +1 -0
  315. package/src/block/l2_block.ts +2 -1
  316. package/src/block/l2_block_source.ts +26 -3
  317. package/src/block/l2_block_stream/l2_block_stream.ts +21 -0
  318. package/src/checkpoint/checkpoint.ts +32 -14
  319. package/src/checkpoint/checkpoint_data.ts +51 -0
  320. package/src/checkpoint/index.ts +1 -0
  321. package/src/checkpoint/published_checkpoint.ts +3 -1
  322. package/src/config/index.ts +1 -0
  323. package/src/config/sequencer-config.ts +29 -0
  324. package/src/contract/contract_address.ts +4 -4
  325. package/src/contract/contract_class.ts +3 -3
  326. package/src/contract/contract_class_id.ts +6 -5
  327. package/src/contract/interfaces/node-info.ts +3 -0
  328. package/src/contract/private_function.ts +2 -2
  329. package/src/contract/private_function_membership_proof.ts +1 -1
  330. package/src/database-version/database_version.ts +87 -0
  331. package/src/database-version/version_manager.ts +1 -77
  332. package/src/epoch-helpers/index.ts +12 -0
  333. package/src/file-store/local.ts +15 -5
  334. package/src/file-store/s3.ts +12 -3
  335. package/src/ha-signing/config.ts +149 -0
  336. package/src/ha-signing/index.ts +18 -0
  337. package/src/ha-signing/types.ts +112 -0
  338. package/src/hash/hash.ts +14 -10
  339. package/src/hash/map_slot.ts +3 -2
  340. package/src/interfaces/archiver.ts +9 -3
  341. package/src/interfaces/aztec-node-admin.ts +26 -2
  342. package/src/interfaces/aztec-node.ts +43 -94
  343. package/src/interfaces/block-builder.ts +13 -2
  344. package/src/interfaces/configs.ts +12 -1
  345. package/src/interfaces/merkle_tree_operations.ts +1 -1
  346. package/src/interfaces/p2p.ts +3 -14
  347. package/src/interfaces/prover-broker.ts +22 -0
  348. package/src/interfaces/prover-client.ts +7 -0
  349. package/src/interfaces/slasher.ts +4 -0
  350. package/src/interfaces/validator.ts +13 -4
  351. package/src/kernel/hints/build_note_hash_read_request_hints.ts +14 -18
  352. package/src/kernel/hints/build_nullifier_read_request_hints.ts +15 -18
  353. package/src/kernel/hints/build_transient_data_hints.ts +17 -2
  354. package/src/kernel/hints/index.ts +2 -2
  355. package/src/kernel/hints/{key_validation_request_and_generator.ts → key_validation_request_and_separator.ts} +12 -15
  356. package/src/kernel/hints/{scoped_key_validation_request_and_generator.ts → scoped_key_validation_request_and_separator.ts} +10 -10
  357. package/src/kernel/private_circuit_public_inputs.ts +14 -14
  358. package/src/kernel/private_kernel_circuit_public_inputs.ts +2 -2
  359. package/src/kernel/private_kernel_tail_circuit_private_inputs.ts +2 -2
  360. package/src/kernel/private_kernel_tail_circuit_public_inputs.ts +5 -5
  361. package/src/kernel/private_to_public_kernel_circuit_public_inputs.ts +5 -5
  362. package/src/kernel/private_to_rollup_kernel_circuit_public_inputs.ts +5 -5
  363. package/src/kernel/private_validation_requests.ts +8 -8
  364. package/src/keys/derivation.ts +15 -15
  365. package/src/keys/key_types.ts +6 -2
  366. package/src/keys/public_keys.ts +2 -2
  367. package/src/keys/utils.ts +8 -4
  368. package/src/l1-contracts/slash_factory.ts +1 -0
  369. package/src/logs/debug_log_store.ts +54 -0
  370. package/src/logs/{directional_app_tagging_secret.ts → extended_directional_app_tagging_secret.ts} +24 -16
  371. package/src/logs/index.ts +2 -1
  372. package/src/logs/log_id.ts +22 -18
  373. package/src/logs/pre_tag.ts +5 -5
  374. package/src/logs/siloed_tag.ts +10 -4
  375. package/src/logs/tag.ts +1 -1
  376. package/src/messaging/l2_to_l1_membership.ts +3 -3
  377. package/src/note/index.ts +0 -1
  378. package/src/p2p/attestation_utils.ts +56 -0
  379. package/src/p2p/block_proposal.ts +10 -5
  380. package/src/p2p/checkpoint_attestation.ts +6 -1
  381. package/src/p2p/checkpoint_proposal.ts +55 -16
  382. package/src/p2p/client_type.ts +0 -6
  383. package/src/p2p/consensus_payload.ts +25 -12
  384. package/src/p2p/constants.ts +3 -0
  385. package/src/p2p/index.ts +0 -1
  386. package/src/p2p/topic_type.ts +8 -15
  387. package/src/rollup/checkpoint_header.ts +2 -2
  388. package/src/rollup/checkpoint_rollup_public_inputs.ts +5 -5
  389. package/src/rollup/root_rollup_public_inputs.ts +7 -7
  390. package/src/slashing/empire.ts +3 -1
  391. package/src/slashing/helpers.ts +8 -0
  392. package/src/slashing/tally.ts +8 -2
  393. package/src/slashing/types.ts +14 -0
  394. package/src/stats/stats.ts +0 -2
  395. package/src/tests/factories.ts +26 -17
  396. package/src/tests/mocks.ts +34 -17
  397. package/src/timetable/index.ts +66 -0
  398. package/src/trees/public_data_leaf.ts +11 -5
  399. package/src/tx/block_header.ts +8 -5
  400. package/src/tx/global_variables.ts +3 -3
  401. package/src/tx/indexed_tx_effect.ts +3 -2
  402. package/src/tx/profiling.ts +5 -5
  403. package/src/tx/protocol_contracts.ts +2 -2
  404. package/src/tx/public_simulation_output.ts +4 -0
  405. package/src/tx/tx_receipt.ts +14 -4
  406. package/src/tx/tx_request.ts +2 -2
  407. package/src/tx/validator/empty_validator.ts +1 -1
  408. package/src/tx/validator/error_texts.ts +1 -1
  409. package/src/tx/validator/tx_validator.ts +1 -1
  410. package/src/validators/schemas.ts +8 -1
  411. package/src/validators/types.ts +5 -4
  412. package/dest/database-version/index.d.ts +0 -2
  413. package/dest/database-version/index.d.ts.map +0 -1
  414. package/dest/database-version/index.js +0 -1
  415. package/dest/kernel/hints/key_validation_request_and_generator.d.ts +0 -30
  416. package/dest/kernel/hints/key_validation_request_and_generator.d.ts.map +0 -1
  417. package/dest/logs/directional_app_tagging_secret.d.ts +0 -40
  418. package/dest/logs/directional_app_tagging_secret.d.ts.map +0 -1
  419. package/dest/note/notes_filter.d.ts +0 -27
  420. package/dest/note/notes_filter.d.ts.map +0 -1
  421. package/dest/note/notes_filter.js +0 -11
  422. package/src/database-version/index.ts +0 -1
  423. 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
- slot: string;
1079
- value: string;
1078
+ nullifier: string;
1080
1079
  };
1081
1080
  nextKey: string;
1082
1081
  nextIndex: string | number | bigint;
1083
1082
  } | {
1084
1083
  leaf: {
1085
- nullifier: string;
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
- slot: string;
1103
- value: string;
1102
+ nullifier: string;
1104
1103
  };
1105
1104
  nextKey: string;
1106
1105
  nextIndex: string | number | bigint;
1107
1106
  } | {
1108
1107
  leaf: {
1109
- nullifier: string;
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
- slot: string;
1206
- value: string;
1205
+ nullifier: string;
1207
1206
  };
1208
1207
  nextKey: string;
1209
1208
  nextIndex: string | number | bigint;
1210
1209
  } | {
1211
1210
  leaf: {
1212
- nullifier: string;
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
- slot: string;
1230
- value: string;
1229
+ nullifier: string;
1231
1230
  };
1232
1231
  nextKey: string;
1233
1232
  nextIndex: string | number | bigint;
1234
1233
  } | {
1235
1234
  leaf: {
1236
- nullifier: string;
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
- slot: string;
1404
- value: string;
1403
+ nullifier: string;
1405
1404
  };
1406
1405
  nextKey: string;
1407
1406
  nextIndex: string | number | bigint;
1408
1407
  } | {
1409
1408
  leaf: {
1410
- nullifier: string;
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
- slot: string;
1492
- value: string;
1491
+ nullifier: string;
1493
1492
  };
1494
1493
  nextKey: string;
1495
1494
  nextIndex: string | number | bigint;
1496
1495
  } | {
1497
1496
  leaf: {
1498
- nullifier: string;
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
- slot: string;
1541
- value: string;
1540
+ nullifier: string;
1542
1541
  };
1543
1542
  nextKey: string;
1544
1543
  nextIndex: string | number | bigint;
1545
1544
  } | {
1546
1545
  leaf: {
1547
- nullifier: string;
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
- slot: string;
1559
- value: string;
1558
+ nullifier: string;
1560
1559
  };
1561
1560
  nextKey: string;
1562
1561
  nextIndex: string | number | bigint;
1563
1562
  } | {
1564
1563
  leaf: {
1565
- nullifier: string;
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
- slot: string;
1608
- value: string;
1607
+ nullifier: string;
1609
1608
  };
1610
1609
  nextKey: string;
1611
1610
  nextIndex: string | number | bigint;
1612
1611
  } | {
1613
1612
  leaf: {
1614
- nullifier: string;
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
- slot: string;
1626
- value: string;
1625
+ nullifier: string;
1627
1626
  };
1628
1627
  nextKey: string;
1629
1628
  nextIndex: string | number | bigint;
1630
1629
  } | {
1631
1630
  leaf: {
1632
- nullifier: string;
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
- slot: string;
1764
- value: string;
1763
+ nullifier: string;
1765
1764
  };
1766
1765
  nextKey: string;
1767
1766
  nextIndex: string | number | bigint;
1768
1767
  } | {
1769
1768
  leaf: {
1770
- nullifier: string;
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
- slot: string;
1852
- value: string;
1851
+ nullifier: string;
1853
1852
  };
1854
1853
  nextKey: string;
1855
1854
  nextIndex: string | number | bigint;
1856
1855
  } | {
1857
1856
  leaf: {
1858
- nullifier: string;
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
- slot: string;
1901
- value: string;
1900
+ nullifier: string;
1902
1901
  };
1903
1902
  nextKey: string;
1904
1903
  nextIndex: string | number | bigint;
1905
1904
  } | {
1906
1905
  leaf: {
1907
- nullifier: string;
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
- slot: string;
1919
- value: string;
1918
+ nullifier: string;
1920
1919
  };
1921
1920
  nextKey: string;
1922
1921
  nextIndex: string | number | bigint;
1923
1922
  } | {
1924
1923
  leaf: {
1925
- nullifier: string;
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
- slot: string;
1968
- value: string;
1967
+ nullifier: string;
1969
1968
  };
1970
1969
  nextKey: string;
1971
1970
  nextIndex: string | number | bigint;
1972
1971
  } | {
1973
1972
  leaf: {
1974
- nullifier: string;
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
- slot: string;
1986
- value: string;
1985
+ nullifier: string;
1987
1986
  };
1988
1987
  nextKey: string;
1989
1988
  nextIndex: string | number | bigint;
1990
1989
  } | {
1991
1990
  leaf: {
1992
- nullifier: string;
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
- slot: string;
2649
- value: string;
2648
+ nullifier: string;
2650
2649
  };
2651
2650
  nextKey: string;
2652
2651
  nextIndex: string | number | bigint;
2653
2652
  } | {
2654
2653
  leaf: {
2655
- nullifier: string;
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
- slot: string;
2670
- value: string;
2669
+ nullifier: string;
2671
2670
  };
2672
2671
  nextKey: string;
2673
2672
  nextIndex: string | number | bigint;
2674
2673
  } | {
2675
2674
  leaf: {
2676
- nullifier: string;
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
- slot: string;
2711
- value: string;
2710
+ nullifier: string;
2712
2711
  };
2713
2712
  nextKey: string;
2714
2713
  nextIndex: string | number | bigint;
2715
2714
  } | {
2716
2715
  leaf: {
2717
- nullifier: string;
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
- slot: string;
2729
- value: string;
2728
+ nullifier: string;
2730
2729
  };
2731
2730
  nextKey: string;
2732
2731
  nextIndex: string | number | bigint;
2733
2732
  } | {
2734
2733
  leaf: {
2735
- nullifier: string;
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
- slot: string;
2764
- value: string;
2763
+ nullifier: string;
2765
2764
  };
2766
2765
  nextKey: string;
2767
2766
  nextIndex: string | number | bigint;
2768
2767
  } | {
2769
2768
  leaf: {
2770
- nullifier: string;
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
- slot: string;
2782
- value: string;
2781
+ nullifier: string;
2783
2782
  };
2784
2783
  nextKey: string;
2785
2784
  nextIndex: string | number | bigint;
2786
2785
  } | {
2787
2786
  leaf: {
2788
- nullifier: string;
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
- slot: string;
3051
- value: string;
3050
+ nullifier: string;
3052
3051
  };
3053
3052
  nextKey: string;
3054
3053
  nextIndex: string | number | bigint;
3055
3054
  } | {
3056
3055
  leaf: {
3057
- nullifier: string;
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
- slot: string;
3072
- value: string;
3071
+ nullifier: string;
3073
3072
  };
3074
3073
  nextKey: string;
3075
3074
  nextIndex: string | number | bigint;
3076
3075
  } | {
3077
3076
  leaf: {
3078
- nullifier: string;
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
- slot: string;
3113
- value: string;
3112
+ nullifier: string;
3114
3113
  };
3115
3114
  nextKey: string;
3116
3115
  nextIndex: string | number | bigint;
3117
3116
  } | {
3118
3117
  leaf: {
3119
- nullifier: string;
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
- slot: string;
3131
- value: string;
3130
+ nullifier: string;
3132
3131
  };
3133
3132
  nextKey: string;
3134
3133
  nextIndex: string | number | bigint;
3135
3134
  } | {
3136
3135
  leaf: {
3137
- nullifier: string;
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
- slot: string;
3166
- value: string;
3165
+ nullifier: string;
3167
3166
  };
3168
3167
  nextKey: string;
3169
3168
  nextIndex: string | number | bigint;
3170
3169
  } | {
3171
3170
  leaf: {
3172
- nullifier: string;
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
- slot: string;
3184
- value: string;
3183
+ nullifier: string;
3185
3184
  };
3186
3185
  nextKey: string;
3187
3186
  nextIndex: string | number | bigint;
3188
3187
  } | {
3189
3188
  leaf: {
3190
- nullifier: string;
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
- slot: string;
4539
- value: string;
4538
+ nullifier: string;
4540
4539
  };
4541
4540
  nextKey: string;
4542
4541
  nextIndex: string | number | bigint;
4543
4542
  } | {
4544
4543
  leaf: {
4545
- nullifier: string;
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
- slot: string;
4560
- value: string;
4559
+ nullifier: string;
4561
4560
  };
4562
4561
  nextKey: string;
4563
4562
  nextIndex: string | number | bigint;
4564
4563
  } | {
4565
4564
  leaf: {
4566
- nullifier: string;
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
- slot: string;
4601
- value: string;
4600
+ nullifier: string;
4602
4601
  };
4603
4602
  nextKey: string;
4604
4603
  nextIndex: string | number | bigint;
4605
4604
  } | {
4606
4605
  leaf: {
4607
- nullifier: string;
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
- slot: string;
4619
- value: string;
4618
+ nullifier: string;
4620
4619
  };
4621
4620
  nextKey: string;
4622
4621
  nextIndex: string | number | bigint;
4623
4622
  } | {
4624
4623
  leaf: {
4625
- nullifier: string;
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
- slot: string;
4654
- value: string;
4653
+ nullifier: string;
4655
4654
  };
4656
4655
  nextKey: string;
4657
4656
  nextIndex: string | number | bigint;
4658
4657
  } | {
4659
4658
  leaf: {
4660
- nullifier: string;
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
- slot: string;
4672
- value: string;
4671
+ nullifier: string;
4673
4672
  };
4674
4673
  nextKey: string;
4675
4674
  nextIndex: string | number | bigint;
4676
4675
  } | {
4677
4676
  leaf: {
4678
- nullifier: string;
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
- slot: string;
5108
- value: string;
5107
+ nullifier: string;
5109
5108
  };
5110
5109
  nextKey: string;
5111
5110
  nextIndex: string | number | bigint;
5112
5111
  } | {
5113
5112
  leaf: {
5114
- nullifier: string;
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
- slot: string;
5129
- value: string;
5128
+ nullifier: string;
5130
5129
  };
5131
5130
  nextKey: string;
5132
5131
  nextIndex: string | number | bigint;
5133
5132
  } | {
5134
5133
  leaf: {
5135
- nullifier: string;
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
- slot: string;
5170
- value: string;
5169
+ nullifier: string;
5171
5170
  };
5172
5171
  nextKey: string;
5173
5172
  nextIndex: string | number | bigint;
5174
5173
  } | {
5175
5174
  leaf: {
5176
- nullifier: string;
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
- slot: string;
5188
- value: string;
5187
+ nullifier: string;
5189
5188
  };
5190
5189
  nextKey: string;
5191
5190
  nextIndex: string | number | bigint;
5192
5191
  } | {
5193
5192
  leaf: {
5194
- nullifier: string;
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
- slot: string;
5223
- value: string;
5222
+ nullifier: string;
5224
5223
  };
5225
5224
  nextKey: string;
5226
5225
  nextIndex: string | number | bigint;
5227
5226
  } | {
5228
5227
  leaf: {
5229
- nullifier: string;
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
- slot: string;
5241
- value: string;
5240
+ nullifier: string;
5242
5241
  };
5243
5242
  nextKey: string;
5244
5243
  nextIndex: string | number | bigint;
5245
5244
  } | {
5246
5245
  leaf: {
5247
- nullifier: string;
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
- slot: string;
5683
- value: string;
5682
+ nullifier: string;
5684
5683
  };
5685
5684
  nextKey: string;
5686
5685
  nextIndex: string | number | bigint;
5687
5686
  } | {
5688
5687
  leaf: {
5689
- nullifier: string;
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
- slot: string;
5704
- value: string;
5703
+ nullifier: string;
5705
5704
  };
5706
5705
  nextKey: string;
5707
5706
  nextIndex: string | number | bigint;
5708
5707
  } | {
5709
5708
  leaf: {
5710
- nullifier: string;
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
- slot: string;
5745
- value: string;
5744
+ nullifier: string;
5746
5745
  };
5747
5746
  nextKey: string;
5748
5747
  nextIndex: string | number | bigint;
5749
5748
  } | {
5750
5749
  leaf: {
5751
- nullifier: string;
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
- slot: string;
5763
- value: string;
5762
+ nullifier: string;
5764
5763
  };
5765
5764
  nextKey: string;
5766
5765
  nextIndex: string | number | bigint;
5767
5766
  } | {
5768
5767
  leaf: {
5769
- nullifier: string;
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
- slot: string;
5798
- value: string;
5797
+ nullifier: string;
5799
5798
  };
5800
5799
  nextKey: string;
5801
5800
  nextIndex: string | number | bigint;
5802
5801
  } | {
5803
5802
  leaf: {
5804
- nullifier: string;
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
- slot: string;
5816
- value: string;
5815
+ nullifier: string;
5817
5816
  };
5818
5817
  nextKey: string;
5819
5818
  nextIndex: string | number | bigint;
5820
5819
  } | {
5821
5820
  leaf: {
5822
- nullifier: string;
5821
+ slot: string;
5822
+ value: string;
5823
5823
  };
5824
5824
  nextKey: string;
5825
5825
  nextIndex: string | number | bigint;