Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

superchain-backend design doc #9

Merged
merged 3 commits into from
Jun 7, 2024
Merged

superchain-backend design doc #9

merged 3 commits into from
Jun 7, 2024

Conversation

protolambda
Copy link
Contributor

Description

Design for the superchain-backend, the next iteration of the idea after initial takes by @hamdiallam in Q1.

This supports the cross-L2 message verification for superchain interop.

@protolambda protolambda requested review from tynes and sebastianst May 14, 2024 14:44
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
@tynes tynes mentioned this pull request May 21, 2024
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
superchain-backend.md Outdated Show resolved Hide resolved
@protolambda
Copy link
Contributor Author

Comments summary:

  • Optimization of acquiring data via RPC, rather via P2P or some aggregate or optimized form.
  • Protocol change to be able to verify initiating/executing message inclusion more easily (i.e. not as inefficient as full receipt proofs)
  • Flexible trust model, not everyone may want to run this new service.
  • Need to expand on redundancy and reliability. May need load-balancer to be aware of unsafe vs cross-unsafe.
  • One remaining comment from Hamdi that we did not get to during the design review call.

Doc to be updated, and can then do a final review/merge.

@protolambda protolambda force-pushed the superchain-backend branch from b9249a1 to 8c76129 Compare June 4, 2024 21:16
@protolambda
Copy link
Contributor Author

Updates on previous review comments and requests:

  • Optimization: added optimization ideas to throughput sub-section in considered risks.
  • Protocol change for message-inclusion proofs: listed as option under light-client idea, but out-of-scope for now.
  • Flexible trust model: design-doc already offers a general interface and some optionality, I believe this forms sufficient forward-compatibility with other trust models.
  • Redundancy and reliability: added a new section covering this, with proposal how to use multiple backends as rollup node.
  • Comment from Hamdi about block-safety resolution: added missing details on implementation summary, nice catch.

Additionally:

  • Naming: we are calling the standalone service the op-supervisor, since it monitors superchain activity for cross-L2 safety.
  • Rebased on main
  • Moved the design-doc to protocol/ directory.

@protolambda protolambda merged commit 958c364 into main Jun 7, 2024
@protolambda protolambda deleted the superchain-backend branch June 7, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants