-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#3454) * Refactor test to use testify * WIP - include unauthorized assets on /assets * WIP - Flailing around with asset stats * AssetStatNumAccounts -> AssetStatAccounts * Passing tests for AssetStatsProcessor * Rename migration to be after previous migrations * use history.ExpAssetStat(Accounts|Balances), and make them serializable for the db * bump the state verifier version? Is this right? * Update history tests to use new asset stat columns * Add a test to make sure state verifier fails when assets and accounts are unequal * Mark the amount and num_accounts fields deprecated * Update docs to remove old num_accounts and amount fields * Fix go vet shadow warnings * populate the actual AssetStatBalances to convert to amounts * Fixing up staticcheck * Remove defunct todos * Update services/horizon/internal/ingest/processors/asset_stats_set.go Co-authored-by: Bartek Nowotarski <[email protected]> * Update services/horizon/internal/ingest/processors/asset_stats_set.go Co-authored-by: Bartek Nowotarski <[email protected]> * PR feedback * Simplify big switch in AssetStatsProcessor Co-authored-by: Bartek Nowotarski <[email protected]>
- Loading branch information
Showing
19 changed files
with
978 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.