From 2c93e6ee9f9a0851e09b390dd89bfd6830d12060 Mon Sep 17 00:00:00 2001 From: itsdevbear Date: Wed, 17 Jan 2024 05:18:25 -0500 Subject: [PATCH] pull --- cosmos/runtime/chain/abci.go | 2 +- cosmos/x/evm/keeper/processor.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cosmos/runtime/chain/abci.go b/cosmos/runtime/chain/abci.go index dcc69eb6a..18d52665f 100644 --- a/cosmos/runtime/chain/abci.go +++ b/cosmos/runtime/chain/abci.go @@ -75,7 +75,7 @@ func (wbc *WrappedBlockchain) ProcessProposal( } // Insert the block into the chain. - if err = wbc.InsertBlockAndSetHead(block); err != nil { + if err = wbc.InsertBlock(block); err != nil { ctx.Logger().Error("failed to insert block", "err", err) return &abci.ResponseProcessProposal{ Status: abci.ResponseProcessProposal_REJECT, diff --git a/cosmos/x/evm/keeper/processor.go b/cosmos/x/evm/keeper/processor.go index bdc24005a..8e13a2cd6 100644 --- a/cosmos/x/evm/keeper/processor.go +++ b/cosmos/x/evm/keeper/processor.go @@ -77,7 +77,7 @@ func (k *Keeper) ProcessPayloadEnvelope( k.chain.PrimePlugins(ctx) // Insert the finalized block and set the chain head. - if err = k.chain.InsertBlock(block); err != nil { + if err = k.chain.InsertBlockAndSetHead(block); err != nil { return nil, err }