Skip to content

trianglesphere/rnode

Repository files navigation

rnode • tests license

rnode is an experimental version of the optimism protocol built specifically to be a fault proof program. It must go through the pre-image oracle & be fully determinisitic with no multi-threaded or networked parts inside the core of derivation.

Checklist

  • Derivation Pipeline
    • System Config
    • Inbox Address check
    • Filter from authorized batcher
    • Parse frames (basic)
    • Parse frames (resilient to malformed data)
    • Channel from frames
    • Decode batches from channel
    • RLP bytes limit on channel
    • Batch Queue stage
    • Batch -> Attributes
  • Execution revm Backend
    • New Deposit Transaction Type
    • State processing of deposits
    • Fee modifications
      • L1 Cost on non-deposits
      • Basefee to address
    • Execute transactions
    • Create post state
  • L1 Preimage Oracle
    • MPT for transaction/receipts
    • Persist pre-images to disk
    • Run in online or offline pre-image mode
    • Run in pre-image generation mode
  • L2 Preimage Oracle
    • State DB for execution
    • Implement pre-image oracle of MPT

TODO

  • Fake RPC provider for tests
  • Use own block types
  • Remove ethers core RLP & use reth-rlp
  • Finish MPT
  • Finish derivation
  • Client / L1 Preimage Oracle API
    • Will be several layers here
  • CLI command usage

Usage

TODO

License

TODO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages