diff --git a/node/builder_chain.go b/node/builder_chain.go index deda103042d..7180a1f6155 100644 --- a/node/builder_chain.go +++ b/node/builder_chain.go @@ -203,10 +203,14 @@ func ConfigFullNode(c interface{}) Option { Override(SetupFallbackBlockstoresKey, modules.InitFallbackBlockstores), ), + // FORCE always storing events in the blockstore, making this conditional is pointless + // + // (ignore original text below) + // // If the Eth JSON-RPC is enabled, enable storing events at the ChainStore. // This is the case even if real-time and historic filtering are disabled, // as it enables us to serve logs in eth_getTransactionReceipt. - If(cfg.Fevm.EnableEthRPC || cfg.Events.EnableActorEventsAPI, Override(StoreEventsKey, modules.EnableStoringEvents)), + Override(StoreEventsKey, modules.EnableStoringEvents), If(cfg.Wallet.RemoteBackend != "", Override(new(*remotewallet.RemoteWallet), remotewallet.SetupRemoteWallet(cfg.Wallet.RemoteBackend)),