For a full E2E of L1 to L2 messages, we need:
- circuits inserting L1 -> L2 msgs into tree
- acir simulator exposing msg tree
- messageboxes deployed to l1
- portal deployed to L1 (token bridge for start)
- archiver needs to pull L1 -> L2 msgs inserted
Nice to haves:
L1 token bridge:
- Deploy token portal on L1 and L2, (specifying the L1 contract as portal for L2)
- Mint tokens on L1 (use mintable erc20 or weth)
- Initiate a deposit on L1 which will insert a message into the message box
- Archiver pulls events emitted on insertion
- Some other contract is deployed or interacted with and the sequencer includes this message in the rollup
- After rollup, the message is inserted into the messages tree
- User initiate L2 "deposit" which consumes the message from the tree and mints tokens on L2.
For a full E2E of L1 to L2 messages, we need:
Nice to haves:
L1 token bridge: