Labels: bug build cleanup
Difficulty: Medium
Summary
lib/stellar/indexer.ts imports reconstructDagFromMetaXdr from ../dag/engine and the ExecutionDag type from ../dag/types. Both of these files were removed. The import causes a build failure. The indexer also has an onDag option in its StreamingIndexerOptions interface that references the ExecutionDag type and a block of code that calls reconstructDagFromMetaXdr() inside the streaming callback.
What a Contributor Needs to Deliver
Both import statements must be removed. The onDag field must be removed from StreamingIndexerOptions. All code inside the streaming callback that references onDag or calls reconstructDagFromMetaXdr() must be removed. The remaining streaming logic must be unaffected. The file must compile cleanly after the change.
Labels: bug build cleanup
Difficulty: Medium
Summary
lib/stellar/indexer.ts imports reconstructDagFromMetaXdr from ../dag/engine and the ExecutionDag type from ../dag/types. Both of these files were removed. The import causes a build failure. The indexer also has an onDag option in its StreamingIndexerOptions interface that references the ExecutionDag type and a block of code that calls reconstructDagFromMetaXdr() inside the streaming callback.
What a Contributor Needs to Deliver
Both import statements must be removed. The onDag field must be removed from StreamingIndexerOptions. All code inside the streaming callback that references onDag or calls reconstructDagFromMetaXdr() must be removed. The remaining streaming logic must be unaffected. The file must compile cleanly after the change.