Before v0.13.2, Starknet faced a tradeoff between:

🔺More frequent blocks, which meant higher costs

🔺Lower costs, which meant less frequent blocks

This situation happens because each Starknet L2 block has a fixed L1 cost. So, more L2 blocks meant more L1 costs. Yeah, completely rekt

But that’s no longer the case with Block Packing, thanks to a new data structure called SNAR tree 🍃

In these trees, each leaf is a Starknet block. These leaves are continuously merged at each level of the tree until we get to the root, which represents the merged state transitions of all the blocks. This root is then sent to SHARP (our shared prover), which creates a STARK proof and sends it to Ethereum for verification.

TL;DR: Block Packing solves the tradeoff, letting us have the best of both worlds: increase L2 blocks without adding extra L1 costs!!

Starknet v0.13.2 coming on mainnet in 2 days👀