status-go/services/wallet/collectibles
Stefan c0f32748b4 feat(wallet) lazy load activity info optimization
Trigger async fetching of extra information on each activity filtering
request. Only emit the update event for incomplete entries.

Other changes:

- Make DataEntry light as event payload by making all the fields
  optional
- Add new required fields to the activity DataEntry
- Add collectibles.ManagerInterface to aid testing

Note: this PR keeps compatibility with current master by always
providing non-optional multi-transaction ID. The TODO will be executed
before merging the status-desktop PR.

Experienced a hang on FetchAssetsByCollectibleUniqueID call with:
[{{5 0x21263a042aFE4bAE34F08Bb318056C181bD96D3b} 1209},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 237},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 236},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 832},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 830},
{{5 0x9A95631794a42d30C47f214fBe02A72585df35e1} 853}]

Updates status-desktop #11597
2023-09-01 19:11:14 +02:00
..
collectible_data_db.go chore: implement collectibles data db cache 2023-08-09 11:21:59 -03:00
collectible_data_db_test.go chore: implement collectibles data db cache 2023-08-09 11:21:59 -03:00
collection_data_db.go chore: implement collectibles data db cache 2023-08-09 11:21:59 -03:00
collection_data_db_test.go chore: implement collectibles data db cache 2023-08-09 11:21:59 -03:00
commands.go chore: reorganized collectibles clients code 2023-08-03 12:53:00 -03:00
manager.go feat(wallet) lazy load activity info optimization 2023-09-01 19:11:14 +02:00
ownership_db.go chore: implement collectibles data db cache 2023-08-09 11:21:59 -03:00
ownership_db_test.go fix(tests): moved test db setup to a common place 't/helpers', created 2023-08-18 09:00:56 +02:00
service.go feat: make collectibles api support multiple clients 2023-08-15 10:17:10 -03:00
types.go feat: add extra collection data to collectible header struct 2023-09-01 11:14:29 -03:00