From 9485e1bd031f93bf3c7cd4015b717dca37c41b11 Mon Sep 17 00:00:00 2001 From: itsdevbear Date: Wed, 17 Jan 2024 05:17:23 -0500 Subject: [PATCH] try it --- cosmos/x/evm/keeper/processor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cosmos/x/evm/keeper/processor.go b/cosmos/x/evm/keeper/processor.go index 7f3e13e04..bdc24005a 100644 --- a/cosmos/x/evm/keeper/processor.go +++ b/cosmos/x/evm/keeper/processor.go @@ -73,6 +73,7 @@ func (k *Keeper) ProcessPayloadEnvelope( // which will be written to by InsertBlock. This is a runMsgs cache context, which is // only written once ProcessPayloadEnvelope executes without error. k.spf.SetFinalizeBlockContext(ctx) + defer k.spf.SetLatestQueryContext(ctx) k.chain.PrimePlugins(ctx) // Insert the finalized block and set the chain head.