From 2819a76e61bf2940a95d0bbe352fbf8aa80ee3b6 Mon Sep 17 00:00:00 2001 From: "Masih H. Derkani" Date: Fri, 2 May 2025 18:11:38 +0100 Subject: [PATCH] Reduce the verbosity of state tree load failure to debug in `StateTree` This code path is being hit much more often now that F3 is enabled. To reduce noise in logs change the log level for this error to DEBUG. --- chain/state/statetree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/state/statetree.go b/chain/state/statetree.go index bea0c07c3a8..ec289dd13ab 100644 --- a/chain/state/statetree.go +++ b/chain/state/statetree.go @@ -292,7 +292,7 @@ func LoadStateTree(cst cbor.IpldStore, c cid.Cid) (*StateTree, error) { return nil, xerrors.Errorf("unsupported state tree version: %d", root.Version) } if err != nil { - log.Errorf("failed to load state tree: %s", err) + log.Debugf("failed to load state tree: %s", err) return nil, xerrors.Errorf("failed to load state tree %s: %w", c, err) }