From 1c1b10c66e431d2333a802eaad89a3d7576b97cc 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 cf6c5642885..a4a0babf736 100644 --- a/node/builder_chain.go +++ b/node/builder_chain.go @@ -223,7 +223,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),