Open thedevbirb opened 6 months ago
Tentative tasklist to get this done in our devnet:
constraints
and commitments
API changes for this type of commitmentNote that this would still be a naive implementation, because the block building algorithm would need to be modified to include this type of transaction (avoiding for it to revert if possible).
For inclusion preconfirmations we're leveraging the
transactions_root
field of the execution block header along with Merkle proofs. In order to prove successful execution of a transaction (or a bundle) we could do the same but with thereceipts_root
of the receipt MPT. The flow will look as follows:i
(it is already like this) along with thei
-th receipt data and a MPT Merkle proof of inclusionThe receipt also contains all the logs emitted by the transaction. We should explore what use cases this unlocks!