From bd3b5a0f00d30f4e5101ff3e3b121751ec0a709b Mon Sep 17 00:00:00 2001 From: Francisco Moura Date: Tue, 27 Aug 2024 16:43:02 -0300 Subject: [PATCH] feat(config): Update CARTESI_BLOCKCHAIN_FINALITY_OFFSET docs It adds information to clarify Blockchain finalization overlap --- docs/config.md | 3 ++- internal/node/config/generate/Config.toml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/config.md b/docs/config.md index 67a4653ae..e65c8fdcc 100644 --- a/docs/config.md +++ b/docs/config.md @@ -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"` diff --git a/internal/node/config/generate/Config.toml b/internal/node/config/generate/Config.toml index a1b9dfe27..345265d76 100644 --- a/internal/node/config/generate/Config.toml +++ b/internal/node/config/generate/Config.toml @@ -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"