From 72f42505b9c8516b025317075881e2ecaa7082eb Mon Sep 17 00:00:00 2001 From: Geoff Stuart Date: Mon, 16 Jan 2023 08:17:34 -0500 Subject: [PATCH] Explain config more clearly --- documentation/en/default-lotus-config.toml | 1 + node/config/doc_gen.go | 3 ++- node/config/types.go | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/documentation/en/default-lotus-config.toml b/documentation/en/default-lotus-config.toml index 3aca81700..fbdbc852c 100644 --- a/documentation/en/default-lotus-config.toml +++ b/documentation/en/default-lotus-config.toml @@ -345,6 +345,7 @@ [Fevm] # EnableEthHashToFilecoinCidMapping enables storing a mapping of eth transaction hashes to filecoin message Cids + # You will not be able to look up ethereum transactions by their hash if this is disabled. # # type: bool # env var: LOTUS_FEVM_ENABLEETHHASHTOFILECOINCIDMAPPING diff --git a/node/config/doc_gen.go b/node/config/doc_gen.go index 73471ccc0..c4cf08471 100644 --- a/node/config/doc_gen.go +++ b/node/config/doc_gen.go @@ -404,7 +404,8 @@ see https://lotus.filecoin.io/storage-providers/advanced-configurations/market/# Name: "EnableEthHashToFilecoinCidMapping", Type: "bool", - Comment: `EnableEthHashToFilecoinCidMapping enables storing a mapping of eth transaction hashes to filecoin message Cids`, + Comment: `EnableEthHashToFilecoinCidMapping enables storing a mapping of eth transaction hashes to filecoin message Cids +You will not be able to look up ethereum transactions by their hash if this is disabled.`, }, { Name: "EthTxHashMappingLifetimeDays", diff --git a/node/config/types.go b/node/config/types.go index 244a13b70..38671929d 100644 --- a/node/config/types.go +++ b/node/config/types.go @@ -696,6 +696,7 @@ type ActorEventConfig struct { type FevmConfig struct { // EnableEthHashToFilecoinCidMapping enables storing a mapping of eth transaction hashes to filecoin message Cids + // You will not be able to look up ethereum transactions by their hash if this is disabled. EnableEthHashToFilecoinCidMapping bool // EthTxHashMappingLifetimeDays the transaction hash lookup database will delete mappings that have been stored for more than x days // Set to 0 to keep all mappings