diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c6fa550..c5b38174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,8 @@ Ref: https://keepachangelog.com/en/1.0.0/ - (rpc) [#1688](https://github.com/zeta-chain/ethermint/pull/1688) Align filter rule for `debug_traceBlockByNumber` +- (evm) [#112](https://github.com/zeta-chain/ethermint/pull/112) Avoid duplicate cache events emitted from evm hooks. + ### Improvements - (ante) [#1717](https://github.com/zeta-chain/ethermint/pull/1717) Reuse sender recovery result. diff --git a/x/evm/keeper/state_transition.go b/x/evm/keeper/state_transition.go index 06418402..5e602a7d 100644 --- a/x/evm/keeper/state_transition.go +++ b/x/evm/keeper/state_transition.go @@ -275,7 +275,6 @@ func (k *Keeper) ApplyTransaction(ctx sdk.Context, msgEth *types.MsgEthereumTx) commit() // Since the post-processing can alter the log, we need to update the result res.Logs = types.NewLogsFromEth(receipt.Logs) - ctx.EventManager().EmitEvents(tmpCtx.EventManager().Events()) } }