forked from cerc-io/laconicd-deprecated
fix: append Log in tx post processing response (#1088)
* fix post processing log * update changelog
This commit is contained in:
@@ -271,6 +271,8 @@ func (k *Keeper) ApplyTransaction(ctx sdk.Context, tx *ethtypes.Transaction) (*t
|
||||
} else if commit != nil {
|
||||
// PostTxProcessing is successful, commit the tmpCtx
|
||||
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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user