Skip to content

Commit

Permalink
feat(config): Update CARTESI_BLOCKCHAIN_FINALITY_OFFSET docs
Browse files Browse the repository at this point in the history
It adds information to clarify Blockchain finalization overlap
  • Loading branch information
fmoura committed Aug 29, 2024
1 parent f9af83d commit bd3b5a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ Block subscription timeout in seconds.

## `CARTESI_BLOCKCHAIN_FINALITY_OFFSET`

The node assumes that blocks offsetted by N from the current block have reached finality
Node legacy setting used by Claimer. It assumes that blocks offsetted by N from the current block have reached finality
(N is the read depth).
It ignores blockchain blocks commitment level

* **Type:** `int`
* **Default:** `"10"`
Expand Down
5 changes: 3 additions & 2 deletions internal/node/config/generate/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ If set to true the node will send transactions using the legacy gas fee model
default = "10"
go-type = "int"
description = """
The node assumes that blocks offsetted by N from the current block have reached finality
(N is the read depth)."""
Node legacy setting used by Claimer. It assumes that blocks offsetted by N from the current block have reached finality
(N is the read depth).
It ignores blockchain blocks commitment level"""

[blockchain.CARTESI_EVM_READER_DEFAULT_BLOCK]
default = "finalized"
Expand Down

0 comments on commit bd3b5a0

Please sign in to comment.