# \[Proposal\] Forcing the sequencer to actually submit data to L1

**URL:** <https://forum.aztec.network/t/proposal-forcing-the-sequencer-to-actually-submit-data-to-l1/426>\
**Category:** Aztec\
**Created:** [May 15, 2023, 3:13pm UTC](https://forum.aztec.network/t/proposal-forcing-the-sequencer-to-actually-submit-data-to-l1/426 "2023-05-15T15:13:13Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![jean](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@jean](https://forum.aztec.network/u/jean)\
**Post date:** [May 22, 2023, 8:01am UTC](https://forum.aztec.network/t/proposal-forcing-the-sequencer-to-actually-submit-data-to-l1/426/13 "2023-05-22T08:01:02Z")

</div>

In the above case, what you need is the “construct” to provide integrity of the logs. Therefore, we need collision-resistance (and therefore secure against second pre-image attack). If you can find two inputs of the above construct with the same output, this would mean that you found a very bad property of SHA-256 as one would be able to find SHA-256 values of 2 different inputs which have essentially most of the bytes correlated. Equally important as a cryptography engineering practice is that the data structure (that is hashed) is serialized through an injective function (big issue while appending variable-size arrays for instance. More on this, [Horton Principle](https://en.wikipedia.org/wiki/Horton_principle) and Pascal Junod’s [post](https://crypto.junod.info/posts/recursive-hash/#the-horton-principle)). Namely, you need to make sure that the collision resistance applies at the original data structure (and not the serialization).In the context of a Merkle tree, one also need to serialize the leaves differently than the inner nodes as explained [here](https://en.wikipedia.org/wiki/Merkle_tree#Second_preimage_attack) Note that making a modulo operation and then hashing would be totally broken. Finally, this construct has the undesirable property of having a bias, namely if P is not an integer divisor of 2^256, the output will definitely not uniformly distributed over 0…P-1. The question is whether it is an issue in this context?

---

_[View the full topic](https://forum.aztec.network/t/proposal-forcing-the-sequencer-to-actually-submit-data-to-l1/426)._
