From 81cfca65a96b26d625607ff254c310bfc18d87cd Mon Sep 17 00:00:00 2001 From: Aarsh Shah Date: Tue, 12 Mar 2024 18:22:02 +0400 Subject: [PATCH] enable storing events (#11712) --- node/builder_chain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/builder_chain.go b/node/builder_chain.go index 0e465ffe1d9..2d9c0ea2e54 100644 --- a/node/builder_chain.go +++ b/node/builder_chain.go @@ -225,7 +225,7 @@ func ConfigFullNode(c interface{}) Option { // 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, Override(StoreEventsKey, modules.EnableStoringEvents)), + If(cfg.Fevm.EnableEthRPC || cfg.Events.EnableActorEventsAPI, Override(StoreEventsKey, modules.EnableStoringEvents)), Override(new(dtypes.ClientImportMgr), modules.ClientImportMgr),