Skip to content

Commit

Permalink
Merge pull request #309 from ethpandaops/fix/mempool-id
Browse files Browse the repository at this point in the history
fix(mimicry): add mempool transaction event id
  • Loading branch information
Savid authored Apr 23, 2024
2 parents 0e3dabc + b77d94c commit 5aa7722
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 5aa7722

Please sign in to comment.