diff --git a/x/crosschain/keeper/relay_transfer.go b/x/crosschain/keeper/relay_transfer.go index bfab0fcda..d98449db8 100644 --- a/x/crosschain/keeper/relay_transfer.go +++ b/x/crosschain/keeper/relay_transfer.go @@ -196,14 +196,12 @@ func (k Keeper) bridgeCallEvmHandler( ctx.EventManager().EmitEvents(sdk.Events{sdk.NewEvent(types.EventTypeBridgeCallEvm, attrs...)}) }() - cacheCtx, commit := ctx.CacheContext() - txResp, err := k.evmKeeper.CallEVM(cacheCtx, sender, to, value.BigInt(), gasLimit, fxtypes.MustDecodeHex(message), true) + txResp, err := k.evmKeeper.CallEVM(ctx, sender, to, value.BigInt(), gasLimit, fxtypes.MustDecodeHex(message), true) if err != nil { k.Logger(ctx).Error("bridge call evm error", "nonce", eventNonce, "error", err.Error()) callErr = err.Error() return } - commit() callResult = !txResp.Failed() callErr = txResp.VmError