From f6cb6eb55bc0b4e6655c96f583cd0f7eeddf41ba Mon Sep 17 00:00:00 2001 From: skosito Date: Thu, 23 May 2024 19:26:27 +0200 Subject: [PATCH] cleanup --- x/fungible/keeper/evm.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/x/fungible/keeper/evm.go b/x/fungible/keeper/evm.go index 55feead317..a6bb251402 100644 --- a/x/fungible/keeper/evm.go +++ b/x/fungible/keeper/evm.go @@ -755,14 +755,11 @@ func (k Keeper) CallEVMWithData( } if !noEthereumTxEvent { - fmt.Println("88 tx", ethTxHash.Hex()) if err != nil { return nil, fmt.Errorf("failed to convert tx msg, err=%w", err) } - attrs = append(attrs, sdk.NewAttribute("TxData", hexutil.Encode(msg.Data()))) - attrs = append(attrs, sdk.NewAttribute("TxNonce", fmt.Sprint(nonce))) - - attrs = append(attrs, sdk.NewAttribute("TxHash", ethTxHash.Hex())) + attrs = append(attrs, sdk.NewAttribute("TxData", hexutil.Encode(msg.Data()))) // adding txData for more info in rpc methods + attrs = append(attrs, sdk.NewAttribute("TxNonce", fmt.Sprint(nonce))) // adding nonce for more info in rpc methods ctx.EventManager().EmitEvents(sdk.Events{ sdk.NewEvent( evmtypes.EventTypeEthereumTx,