diff --git a/x/evm/keeper/context.go b/x/evm/keeper/context.go index 548c1e35..63753781 100644 --- a/x/evm/keeper/context.go +++ b/x/evm/keeper/context.go @@ -244,7 +244,7 @@ func (k Keeper) EVMCallWithTracer(ctx context.Context, caller common.Address, co attrs[i] = sdk.NewAttribute(types.AttributeKeyLog, string(jsonBz)) } sdkCtx.EventManager().EmitEvent(sdk.NewEvent( - types.EventTypeLogs, + types.EventTypeEVM, attrs..., )) @@ -345,7 +345,7 @@ func (k Keeper) EVMCreateWithTracer(ctx context.Context, caller common.Address, attrs[i] = sdk.NewAttribute(types.AttributeKeyLog, string(jsonBz)) } sdkCtx.EventManager().EmitEvent(sdk.NewEvent( - types.EventTypeLogs, + types.EventTypeEVM, attrs..., )) diff --git a/x/evm/types/events.go b/x/evm/types/events.go index 5cffb97d..15082447 100644 --- a/x/evm/types/events.go +++ b/x/evm/types/events.go @@ -3,7 +3,7 @@ package types const ( EventTypeCall = "call" EventTypeCreate = "create" - EventTypeLogs = "logs" + EventTypeEVM = "evm" // erc20 events EventTypeERC20Created = "erc20_created"