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

Update bridge_design.md #1994

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions design/bridge/bridge_design.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ When a block from `L1` is processed by the `enclave` and transactions inside of

When a transaction on the `L2` results in `LogMessagePublished`, the event will automatically be added to the `Rollup header` by the `enclave`. Then the management contract will submit them to the `MessageBus` or they will directly be.

![Diagram not found](./resources/PublishFromTen.svg)
![Diagram not found](./resources/PublishFromObscuro.svg)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the svg files need to be renamed as well.


> **_NOTE:_** **The messages must not be accessible unless** the challenge period has passed! On top of that the block where the message is submitted to L1 must have confirmations equal to `consistencyLevel` before the message is released. Those are simply counted on-chain as "confirmations" is meaningless for Ten L2.

Expand Down Expand Up @@ -311,10 +311,10 @@ There will be the following topics initially:
---

**Diagram of the bridge process that happens on Ten's Layer 2 when a deposit is created**
![Sequence Diagram not available](./resources/TenL2_MessageBus_deposit_Diagram.svg)
![Sequence Diagram not available](./resources/ObscuroL2_MessageBus_deposit_Diagram.svg)

**Diagram of the process to withdraw the assets from the bridge contract on Ten's Layer 2**
![Sequence Diagram not available](./resources/TenL2_Bridge_withdraw_Diagram.svg)
![Sequence Diagram not available](./resources/ObscuroL2_Bridge_withdraw_Diagram.svg)

The API to transfer assets from the perspective of the user is the same on both layers. The process is as follows:

Expand Down