-
Notifications
You must be signed in to change notification settings - Fork 422
docs: optimism updates and version update #1566
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
Changes from all commits
b7c0095
c7b6b9a
390994c
ff153d2
d818870
6392e92
98a7a09
c13590a
c457239
4cefe55
276e02a
b847171
4d98585
9283c95
b8681cd
a4678ab
494ea96
2e8fd7c
d1a01f0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,14 +1,17 @@ | ||||||||
| --- | ||||||||
| description: The first testnet built with OP Stack and Celestia. | ||||||||
| next: | ||||||||
| text: "Deploy a smart contract on Bubs testnet" | ||||||||
| link: "/developers/deploy-on-bubs" | ||||||||
| --- | ||||||||
|
|
||||||||
| # Bubs testnet | ||||||||
|
|
||||||||
|  | ||||||||
|
|
||||||||
| [Bubs Testnet](https://bubs-sepolia.hub.caldera.xyz/) is a fresh offering from | ||||||||
| [Caldera](https://caldera.xyz) with support from Celestia Labs, | ||||||||
| built with OP Stack and Celestia, and is dedicated to providing developers with | ||||||||
| [Bubs Testnet](https://bubs-sepolia.hub.caldera.xyz/) is a the first | ||||||||
| OP Stack testnet with Celestia underneath hosted by | ||||||||
| [Caldera](https://caldera.xyz) with support from Celestia Labs. Bubs is dedicated to providing developers with | ||||||||
| an EVM-compatible execution layer to deploy their EVM applications on. | ||||||||
|
|
||||||||
| ## Built with the OP Stack and Celestia | ||||||||
|
|
@@ -19,27 +22,12 @@ layer. This integration can be found in the | |||||||
| [@celestiaorg/optimism repository](https://github.com/celestiaorg/optimism). | ||||||||
| The testnet is hosted by [Caldera](https://caldera.xyz), | ||||||||
| who makes it easy to launch rollups with no code required. | ||||||||
|
|
||||||||
| In this setup, data handling is accomplished in two ways. Firstly, data is | ||||||||
| written to the DA layer, in this case, Celestia | ||||||||
| (on the [Mocha testnet](../nodes/mocha-testnet.md)). Then, the data | ||||||||
| commitment is written to the `op-batcher`. When reading, the `op-node` | ||||||||
| retrieves the data back from the DA layer by first reading the data commitment | ||||||||
| from the `op-batcher`, then reading the data from the DA layer using the data | ||||||||
| commitment. Hence, while previously `op-node` was reading from `calldata` on | ||||||||
| Ethereum, it now reads data from Celestia. | ||||||||
| Bubs' data is posted to Celestia | ||||||||
| on the [Mocha testnet](../nodes/mocha-testnet.md). | ||||||||
| [View the namespace for Bubs on Celestia's Mocha testnet](https://mocha-4.celenium.io/namespace/000000000000000000000000000000000000ca1de12ad45362e77e87). | ||||||||
|
|
||||||||
| The tools involved in the data handling process include `op-batcher`, | ||||||||
| which batches up rollup blocks and posts them to Ethereum, `op-geth` | ||||||||
| that handles execution, and `op-proposer` responsible for state commitment | ||||||||
| submission. | ||||||||
|
|
||||||||
| By using Celestia as a DA layer, existing L2s can switch from posting their | ||||||||
| data as `calldata` on Ethereum to posting to Celestia. The commitment to the | ||||||||
| block is posted on Celestia, which is purpose-built for data availability. | ||||||||
| This is more scalable than the traditional method of posting this data as | ||||||||
| `calldata` on monolithic chains. | ||||||||
| [Learn more about the setup of the integration in | ||||||||
| the introduction](./intro-to-op-stack.md#about-the-integration). | ||||||||
|
|
||||||||
| ## Building on Bubs | ||||||||
|
|
||||||||
|
|
@@ -102,8 +90,4 @@ To see the status and uptime information for Bubs, | |||||||
|
|
||||||||
| Now that you have a better understanding of the Bubs Testnet and its | ||||||||
| integration of OP Stack and Celestia, you can start exploring its | ||||||||
| capabilities: | ||||||||
|
|
||||||||
| - [Deploy a smart contract on Bubs testnet](./deploy-on-bubs.md) | ||||||||
| - [Deploy a GM Portal dapp on Bubs testnet](./gm-portal-bubs.md) | ||||||||
| <!-- - [Deploy a smart contract with Thirdweb](https://thirdweb.com/bubs-testnet) --> | ||||||||
| capabilities. | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure the file ends with a single newline character. capabilities.
+Committable suggestion
Suggested change
|
||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,43 +7,69 @@ description: Learn about the integration of OP Stack with Celestia. | |||||
| [Optimism](https://optimism.io) is a low-cost and lightning-fast Ethereum | ||||||
| L2 blockchain, built with [the OP Stack](https://stack.optimism.io/). | ||||||
|
|
||||||
| [Celestia](https://celestia.org) is a modular consensus and data network, | ||||||
| [Celestia](https://celestia.org) is a modular consensus and data availability (DA) network, | ||||||
| built to enable anyone to easily deploy their own blockchain with | ||||||
| minimal overhead. | ||||||
|
|
||||||
| ## About the integration | ||||||
|
|
||||||
| _Discover how to integrate existing blockchain frameworks | ||||||
| like the OP Stack with Celestia in this category._ | ||||||
|
|
||||||
| :::tip | ||||||
| Tested on a machine with 8GB RAM, 160 GB SSD, | ||||||
| Ubuntu 22.10, and a 4 core AMD CPU. | ||||||
| ::: | ||||||
| Together, they allow developers to create rollups that | ||||||
| post data to Celestia and settle on Ethereum. | ||||||
|
|
||||||
| This is a **beta integration** and we are working on resolving | ||||||
| [open issues](https://github.com/celestiaorg/optimism/issues). | ||||||
| ## About the integration | ||||||
|
|
||||||
| [Optimism](https://www.optimism.io/) uses Ethereum as | ||||||
| a data availability (DA) layer. Currently, settlement and DA for | ||||||
| a DA layer. Currently, settlement and DA for | ||||||
| Optimism are on Ethereum, both onchain. `op-batcher` batches up | ||||||
| rollup blocks and posts to Ethereum. | ||||||
|
|
||||||
| ### Table of contents of the category | ||||||
| The integration of OP Stack with Celestia underneath for DA | ||||||
| allows rollup operators to reduce overhead that is associated with posting | ||||||
| data as `calldata` on Ethereum. Instead, `op-batcher` batches up | ||||||
| rollup blocks and posts them to Celestia's DA network. | ||||||
jcstein marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
|
||||||
| - [Bubs testnet](./bubs-testnet.md) | ||||||
| - [Deploy a smart contract on Bubs testnet](./deploy-on-bubs.md) | ||||||
| - [Deploy a GM Portal dapp on Bubs testnet](./gm-portal-bubs.md) | ||||||
| - [Deploy an OP Stack devnet](./optimism-devnet.md) | ||||||
| - [Deploy an OP Stack devnet on Celestia](./optimism.md) | ||||||
| Data is managed in two ways. First, data is written | ||||||
| to the data availability (DA) layer i.e. in this case Celestia, then the | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider adding a comma before "i.e." for better readability. - to the data availability (DA) layer i.e. in this case Celestia, then the
+ to the data availability (DA) layer, i.e., in this case Celestia, then theCommittable suggestion
Suggested change
|
||||||
| data commitment is written to the `op-batcher`. When reading `op-node` | ||||||
| simply reads the data back from the DA layer by reading the | ||||||
| data commitment from the `op-batcher` first, then reading the | ||||||
| data from the DA layer using the data commitment. While | ||||||
| previously `op-node` was reading from `calldata` on Ethereum, it now reads data from Celestia. | ||||||
|
|
||||||
| There are a few tools involved in the data handling process. `op-batcher` | ||||||
| batches up rollup blocks and posts them to Ethereum. `op-geth` handles | ||||||
| execution, while `op-proposer` is responsible for state commitment | ||||||
| submission. | ||||||
|
|
||||||
| ## Celestia and OP Stack repository | ||||||
| By using Celestia as a DA layer, existing L2s can switch from posting | ||||||
| their data as `calldata` on Ethereum, to posting to Celestia. | ||||||
| The commitment to the block is posted on Celestia, which is | ||||||
| purpose-built for data availability. This is a more scalable than | ||||||
| the traditional method of posting this data as `calldata` on monolithic chains. | ||||||
|
|
||||||
| ### GitHub repository | ||||||
jcstein marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
|
||||||
| Find the | ||||||
| [repository for this integration](https://github.com/celestiaorg/optimism/) | ||||||
| at `https://github.com/celestiaorg/optimism`. | ||||||
|
|
||||||
| ### What are Optimism and the OP Stack? | ||||||
| :::warning | ||||||
| This is a **beta integration** and we are working on resolving | ||||||
| [open issues](https://github.com/celestiaorg/optimism/issues). | ||||||
| ::: | ||||||
|
|
||||||
| ## Category contents | ||||||
|
|
||||||
| This category will guide you through interacting with existing OP Stack rollups | ||||||
| with Celestia underneath, then how to start your own devnet | ||||||
| with a modified version of `optimism-bedrock` that uses Celestia as a | ||||||
| DA layer. | ||||||
|
|
||||||
| - [Bubs testnet](./bubs-testnet.md): learn about | ||||||
| the first testnet made with OP Stack with Celestia underneath | ||||||
| - [Deploy a smart contract on Bubs testnet](./deploy-on-bubs.md) | ||||||
| - [Deploy a GM Portal dapp on Bubs testnet](./gm-portal-bubs.md) | ||||||
| - [Run an OP Stack devnet posting Celestia](./optimism.md) | ||||||
|
|
||||||
| <!-- ### What are Optimism and the OP Stack? | ||||||
|
|
||||||
| Optimism, an Ethereum L2 blockchain, is powered by the OP Stack, | ||||||
| which is also the foundation for the | ||||||
|
|
@@ -61,47 +87,7 @@ blockchain infrastructure to governance systems. This software suite aims | |||||
| to simplify L2 blockchain creation and support the Optimism ecosystem's | ||||||
| growth and development. | ||||||
|
|
||||||
| Learn [more about Optimism](https://www.optimism.io/). | ||||||
|
|
||||||
| ### What is Celestia? | ||||||
|
|
||||||
| Celestia is a modular consensus and data network, built to enable anyone to | ||||||
| easily deploy their own blockchain with minimal overhead. | ||||||
|
|
||||||
| Celestia is a minimal blockchain that only orders and publishes transactions | ||||||
| and does not execute them. By decoupling the consensus and application | ||||||
| execution layers, Celestia modularizes the blockchain technology stack | ||||||
| and unlocks new possibilities for decentralized application builders. | ||||||
| Learn more at [Celestia.org](https://celestia.org). | ||||||
|
|
||||||
| ## OP Stack and Celestia | ||||||
|
|
||||||
| This category will guide you through how to start your own devnet | ||||||
| with a modified version of `optimism-bedrock` that uses Celestia as a | ||||||
| DA layer. | ||||||
|
|
||||||
| The handling of data is accomplished in two ways. First, data is written | ||||||
| to the data availability (DA) layer i.e. in this case Celestia, then the | ||||||
| data commitment is written to the `op-batcher`. When reading `op-node` | ||||||
| simply reads the data back from the DA layer by reading the | ||||||
| data commitment from the `op-batcher` first, then reading the | ||||||
| data from the DA layer using the data commitment. Hence, while | ||||||
| previously `op-node` was reading from calldata on Ethereum, | ||||||
| but now it reads data from Celestia. | ||||||
|
|
||||||
| There are a few tools involved in the data handling process. `op-batcher` | ||||||
| batches up rollup blocks and posts them to Ethereum. `op-geth` handles | ||||||
| execution, while `op-proposer` is responsible for state commitment | ||||||
| submission. | ||||||
|
|
||||||
| By using Celestia as a DA layer, existing L2s can switch from posting | ||||||
| their data as `calldata` on Ethereum, to posting to Celestia. | ||||||
| The commitment to the block is posted on Celestia, which is | ||||||
| purpose-built for data availability. This is a more scalable than | ||||||
| the traditional method of posting this data as `calldata` on monolithic chains. | ||||||
|
|
||||||
| If you'd like to go modular, bedrock has | ||||||
| made it easy to swap this out! | ||||||
| Learn [more about Optimism](https://www.optimism.io/). --> | ||||||
|
|
||||||
| ## Next steps | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct the grammatical error by choosing either "a" or "the".
Committable suggestion