wormhole-explorer/tx-tracker/consumer
agodnic 09870f3d65
[tx-tracker / api] Avoid duplicating data (#256)
### Summary
Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/254

For all chains except Solana, the data in `globalTransactions.sourceTx` was somewhat duplicated, since we already had that data in the `vaas` collection.
This pull request changes the `tx-tracker` service so that no redundant data will be written, and also changes the API to look up the data from the `vaas` collection instead.

The responses from the endpoint `/api/v1/global-tx` will no longer contain the field `originTx.from`.
2023-04-25 15:34:29 -03:00
..
consumer.go [tx-tracker / api] Avoid duplicating data (#256) 2023-04-25 15:34:29 -03:00
repository.go [tx-tracker / api] Avoid duplicating data (#256) 2023-04-25 15:34:29 -03:00