@aztec/stdlib 5.0.0-nightly.20260523 → 5.0.0-nightly.20260525

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 (73) hide show
  1. package/dest/abi/utils.js +1 -1
  2. package/dest/avm/avm.d.ts +210 -210
  3. package/dest/avm/revert_code.d.ts +1 -7
  4. package/dest/avm/revert_code.d.ts.map +1 -1
  5. package/dest/avm/revert_code.js +0 -3
  6. package/dest/block/l2_block_source.d.ts +15 -2
  7. package/dest/block/l2_block_source.d.ts.map +1 -1
  8. package/dest/block/l2_block_source.js +1 -0
  9. package/dest/block/l2_block_stream/l2_tips_store_base.d.ts +1 -1
  10. package/dest/block/l2_block_stream/l2_tips_store_base.d.ts.map +1 -1
  11. package/dest/block/l2_block_stream/l2_tips_store_base.js +17 -3
  12. package/dest/checkpoint/checkpoint_reexecution_tracker.d.ts +60 -0
  13. package/dest/checkpoint/checkpoint_reexecution_tracker.d.ts.map +1 -0
  14. package/dest/checkpoint/checkpoint_reexecution_tracker.js +108 -0
  15. package/dest/checkpoint/index.d.ts +2 -1
  16. package/dest/checkpoint/index.d.ts.map +1 -1
  17. package/dest/checkpoint/index.js +1 -0
  18. package/dest/interfaces/aztec-node-admin.d.ts +14 -3
  19. package/dest/interfaces/aztec-node-admin.d.ts.map +1 -1
  20. package/dest/interfaces/aztec-node-admin.js +8 -0
  21. package/dest/interfaces/block-builder.d.ts +3 -1
  22. package/dest/interfaces/block-builder.d.ts.map +1 -1
  23. package/dest/interfaces/configs.d.ts +12 -2
  24. package/dest/interfaces/configs.d.ts.map +1 -1
  25. package/dest/interfaces/configs.js +2 -0
  26. package/dest/interfaces/p2p.d.ts +8 -1
  27. package/dest/interfaces/p2p.d.ts.map +1 -1
  28. package/dest/interfaces/proving-job.d.ts +70 -70
  29. package/dest/interfaces/slasher.d.ts +12 -5
  30. package/dest/interfaces/slasher.d.ts.map +1 -1
  31. package/dest/interfaces/slasher.js +7 -2
  32. package/dest/interfaces/tx_provider.d.ts +6 -1
  33. package/dest/interfaces/tx_provider.d.ts.map +1 -1
  34. package/dest/interfaces/validator.d.ts +7 -2
  35. package/dest/interfaces/validator.d.ts.map +1 -1
  36. package/dest/interfaces/validator.js +2 -0
  37. package/dest/p2p/checkpoint_proposal.d.ts +3 -3
  38. package/dest/p2p/checkpoint_proposal.d.ts.map +1 -1
  39. package/dest/p2p/checkpoint_proposal.js +11 -1
  40. package/dest/slashing/helpers.d.ts +2 -2
  41. package/dest/slashing/helpers.d.ts.map +1 -1
  42. package/dest/slashing/helpers.js +7 -7
  43. package/dest/slashing/types.d.ts +8 -8
  44. package/dest/slashing/types.d.ts.map +1 -1
  45. package/dest/slashing/types.js +10 -10
  46. package/dest/tx/tx_receipt.d.ts +2 -8
  47. package/dest/tx/tx_receipt.d.ts.map +1 -1
  48. package/dest/tx/tx_receipt.js +0 -6
  49. package/dest/validators/schemas.d.ts +23 -9
  50. package/dest/validators/schemas.d.ts.map +1 -1
  51. package/dest/validators/schemas.js +4 -2
  52. package/dest/validators/types.d.ts +20 -3
  53. package/dest/validators/types.d.ts.map +1 -1
  54. package/package.json +8 -8
  55. package/src/abi/utils.ts +3 -3
  56. package/src/avm/revert_code.ts +0 -6
  57. package/src/block/l2_block_source.ts +14 -0
  58. package/src/block/l2_block_stream/l2_tips_store_base.ts +22 -3
  59. package/src/checkpoint/checkpoint_reexecution_tracker.ts +167 -0
  60. package/src/checkpoint/index.ts +1 -0
  61. package/src/interfaces/aztec-node-admin.ts +11 -0
  62. package/src/interfaces/block-builder.ts +2 -0
  63. package/src/interfaces/configs.ts +11 -0
  64. package/src/interfaces/p2p.ts +8 -0
  65. package/src/interfaces/slasher.ts +15 -4
  66. package/src/interfaces/tx_provider.ts +6 -0
  67. package/src/interfaces/validator.ts +6 -0
  68. package/src/p2p/checkpoint_proposal.ts +21 -1
  69. package/src/slashing/helpers.ts +9 -9
  70. package/src/slashing/types.ts +14 -14
  71. package/src/tx/tx_receipt.ts +0 -9
  72. package/src/validators/schemas.ts +4 -2
  73. package/src/validators/types.ts +21 -2
package/dest/abi/utils.js CHANGED
@@ -37,7 +37,7 @@
37
37
  * @param abiType - Type to check.
38
38
  * @returns A boolean indicating whether the ABI type is a PublicKeys struct.
39
39
  */ export function isPublicKeysStruct(abiType) {
40
- return abiType.kind === 'struct' && abiType.path === 'aztec::protocol_types::public_keys::PublicKeys' && abiType.fields.length === 4 && abiType.fields[0].name === 'npk_m' && abiType.fields[1].name === 'ivpk_m' && abiType.fields[2].name === 'ovpk_m' && abiType.fields[3].name === 'tpk_m';
40
+ return abiType.kind === 'struct' && abiType.path === 'aztec::protocol_types::public_keys::PublicKeys' && abiType.fields.length === 4 && abiType.fields[0].name === 'npk_m_hash' && abiType.fields[1].name === 'ivpk_m' && abiType.fields[2].name === 'ovpk_m_hash' && abiType.fields[3].name === 'tpk_m_hash';
41
41
  }
42
42
  /**
43
43
  * Returns whether the ABI type is a BoundedVec struct from Noir's std::collections::bounded_vec.