File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
infrastructure/web3-adapter/src Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ data /*
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import axios from "axios";
4
4
import { v4 as uuidv4 } from "uuid" ;
5
5
import { MappingDatabase } from "./db" ;
6
6
import { EVaultClient } from "./evault/evault" ;
7
+ import { logger } from "./logging" ;
7
8
import { fromGlobal , toGlobal } from "./mapper/mapper" ;
8
9
import type { IMapping } from "./mapper/mapper.types" ;
9
10
@@ -306,6 +307,15 @@ export class Web3Adapter {
306
307
if ( ! this . mapping [ tableName ] ) return ;
307
308
console . log ( "We get here?" ) ;
308
309
// If we already have a mapping, use that global ID
310
+
311
+ logger . info ( {
312
+ message : "Handling change" ,
313
+ dataId : data . id ,
314
+ tableName,
315
+ existingGlobalId,
316
+ participants,
317
+ } ) ;
318
+
309
319
if ( existingGlobalId ) {
310
320
if ( this . lockedIds . includes ( existingGlobalId ) ) return ;
311
321
const global = await toGlobal ( {
You can’t perform that action at this time.
0 commit comments