You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t.Logf("[DEBUG] SuiEventEmitter: Skipping duplicate event %s with type %s and transaction module %s at timestamp %s", eventID, ev.Type, ev.TransactionModule, ev.TimestampMs)
170
-
continue// skip duplicates
171
-
}
172
-
seenEvents[eventID] =true
173
-
174
173
varoutT
175
-
// TODO: Use proper SUI JSON decoder instead of Aptos decoder
t.Logf("[DEBUG] SuiEventEmitter: Decode error for event %s with type %s and transaction module %s at timestamp %s: %v", eventID, ev.Type, ev.TransactionModule, ev.TimestampMs, err)
178
-
select {
179
-
caseerrChan<-fmt.Errorf("failed to decode event %s with type %s and transaction module %s at timestamp %s: %w", eventID, ev.Type, ev.TransactionModule, ev.TimestampMs, err):
// Non-blocking send to prevent goroutine deadlock
196
187
select {
197
188
casech<-eventData:
198
-
t.Logf("[DEBUG] SuiEventEmitter: Sent event %s with type %s and transaction module %s at timestamp %s", eventID, ev.Type, ev.TransactionModule, ev.TimestampMs)
189
+
t.Logf("[DEBUG] SuiEventEmitter: Sent event %s with type %s at timestamp %s", eventID, ev.Type, ev.TimestampMs)
199
190
case<-done:
200
191
t.Logf("[DEBUG] SuiEventEmitter: Stopping due to done signal during send")
201
192
return
202
193
default:
203
-
t.Logf("[WARNING] SuiEventEmitter: Channel full, dropping event %s with type %s and transaction module %s at timestamp %s", eventID, ev.Type, ev.TransactionModule, ev.TimestampMs)
204
-
// Channel is full, log warning but continue processing
0 commit comments