status-go/services/wallet/activity
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
..
activity.go feat(wallet) lazy load activity info optimization 2023-09-01 19:11:14 +02:00
activity_test.go fix(wallet) fix pending transactions notification 2023-09-01 00:18:26 +02:00
details.go chore(wallet) move computing totalFees to status-go 2023-08-30 13:59:52 +02:00
filter.go feat(wallet) lazy load activity info optimization 2023-09-01 19:11:14 +02:00
filter_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(wallet) lazy load activity info optimization 2023-09-01 19:11:14 +02:00
service_test.go feat(wallet) lazy load activity info optimization 2023-09-01 19:11:14 +02:00