Skip to content

Commit

Permalink
fix(mimicry): add mempool transaction event id
Browse files Browse the repository at this point in the history
  • Loading branch information
Savid committed Apr 23, 2024
1 parent 0e3dabc commit b77d94c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.7"

services:
clickhouse-01:
profiles:
Expand Down
2 changes: 2 additions & 0 deletions pkg/mimicry/p2p/execution/event_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethpandaops/xatu/pkg/proto/xatu"
"github.com/google/uuid"
"github.com/jellydator/ttlcache/v3"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
Expand Down Expand Up @@ -40,6 +41,7 @@ func (p *Peer) handleTransaction(ctx context.Context, eventTime time.Time, event
Event: &xatu.Event{
Name: xatu.Event_MEMPOOL_TRANSACTION_V2,
DateTime: timestamppb.New(now),
Id: uuid.New().String(),
},
Meta: &xatu.Meta{
Client: meta,
Expand Down

0 comments on commit b77d94c

Please sign in to comment.