Skip to content

Commit

Permalink
prettify mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmel committed Aug 27, 2024
1 parent b5121f6 commit 49366b4
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,23 @@ Similar to the original beacon chain proposer-builder-separation, op-node publis
A simplified sequence diagram of the process is as follows:

```mermaid
sequenceDiagram
participant Sequencer
participant Builder Op-Node
participant Builder
participant Local Engine
Sequencer->>Builder Op-Node: Send latest head update (p2p channel)
Builder Op-Node->>Builder: Publish attributes to the event stream
Builder->>Builder: Start building blocks
Sequencer->>Builder: GetPayload API request
Builder->>Sequencer: Return built payload
Sequencer->>Local Engine: Insert payload
rect rgba(0, 0, 255, 0.1)
participant SEQ as Sequencer
participant ENGINE as Local Engine
end
rect rgba(0, 255, 0, 0.1)
participant BOP as Builder Op-Node
participant BUILDER as Builder Op-Geth
end
SEQ->>BOP: Send latest head update (p2p channel)
BOP->>BUILDER: Publish attributes to the event stream
BUILDER->>BUILDER: Start building blocks
SEQ->>BUILDER: GetPayload API request
BUILDER->>SEQ: Return built payload
SEQ->>ENGINE: Insert payload
```

Key Components:
Expand Down

0 comments on commit 49366b4

Please sign in to comment.