From 49fcbae879965c9f58b2c4bf16a47bf001f52cba Mon Sep 17 00:00:00 2001 From: greg7mdp Date: Tue, 2 Jan 2024 10:35:42 -0500 Subject: [PATCH] Try adding some quotes to mermaid diagram so that it dosplays in github. --- docs/block_production/lifecycle.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/block_production/lifecycle.md b/docs/block_production/lifecycle.md index 73ad09a918..cc19c73885 100644 --- a/docs/block_production/lifecycle.md +++ b/docs/block_production/lifecycle.md @@ -11,17 +11,17 @@ flowchart TD subgraph G["`**_apply_block()_**`"] direction TB start -- "stage = Ø" --> sb - sb("`_start_block()_`"):::fun -- stage = building_block --> et - et["execute transactions" ] -- stage = building_block --> fb("`_finalize_block()_`"):::fun - fb -- stage = assembled block --> cb["add transaction metadata and create completed block"] - cb -- stage = completed block --> commit("`_commit_block()_ where we [maybe] add to fork_db and mark valid`"):::fun + sb("`_start_block()_`"):::fun -- "stage = building_block" --> et + et["execute transactions" ] -- "stage = building_block" --> fb("`_finalize_block()_`"):::fun + fb -- "stage = assembled block" --> cb["add transaction metadata and create completed block"] + cb -- "stage = completed block" --> commit("`_commit_block()_ where we [maybe] add to fork_db and mark valid`"):::fun end B ----> start E --> G D --> F("`_log_irreversible()_`"):::fun - commit -- stage = Ø --> F - F -- if in irreversible mode --> G + commit -- "stage = Ø" --> F + F -- "if in irreversible mode" --> G classDef fun fill:#f96 ``` \ No newline at end of file