Replying to @thegaram33
Added some minor comments, but pretty much completely correct! Thanks for the more easily digestible write up! As for L1 state delta applying, it is done as part of the block proposal. So "at the same time" the new L2 state is applied, we also apply the post L1 state atomically.

Jan 30, 2025 · 12:46 PM UTC

1
2
104
Sort replies: Relevant Recent Liked
Replying to @thegaram33
Contracts that require their state to be updated from L2 like this need to inherit this contract that allows them to be updated like this. This is only necessary to be able to support writes to L1, reads are supported for all contracts.
1
3
69
Note that this doesn't necessarily always require the contracts themselves to be updated, a helper contract can also be used so any changes/dependencies are isolated (which has its own major benefits).
1
3
61