ithacaxyz / odyssey

A testnet open-source Layer 2 from the future, co-designed with the developer tools stack.
https://www.ithaca.xyz/updates/odyssey
Apache License 2.0
137 stars 28 forks source link

Possible support of `L1SLOAD` (RIP-7728)? #48

Open 0xurb opened 7 hours ago

0xurb commented 7 hours ago

Are you interested in RIP-7728 support? I find this one perspective. https://github.com/0xurb/l1sload - example implementation on revm (release/v45). When optimism flow will be finished, we can do more exciting precompiles, that use state and L1 context.

Risks and open questions:

Can we require L2 nodes to rely on L1 archive nodes?

How to deal with RPC errors?

Impact of RPC latency on sequencing? How do we price this in gas?

Can we guarantee that the accessed L1 state is recent?

Should we allow state reads at arbitrary L1 block height?