Skip to content

Conversation

@yaboiishere
Copy link
Contributor

@yaboiishere yaboiishere commented Apr 29, 2025

This PR contains a long migration that indexes various counters for the accounts in the system. It contains a long migration that counts all of the accounts that appear.

This PR adds the account counters for #2125

@yaboiishere yaboiishere self-assigned this Apr 29, 2025
@yaboiishere yaboiishere requested a review from Copilot April 29, 2025 21:04
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new "AccountCounters" schema and a corresponding endpoint to fetch account activity counters.

  • Added a new schema detailing various counter properties (transactions, activities, token counts, etc.).
  • Created a new endpoint (/accounts/{accountId}/counters) to retrieve the account counters.
Files not reviewed (19)
  • lib/ae_mdw/activities.ex: Language not supported
  • lib/ae_mdw/db/contract.ex: Language not supported
  • lib/ae_mdw/db/int_transfer.ex: Language not supported
  • lib/ae_mdw/db/model.ex: Language not supported
  • lib/ae_mdw/db/mutations/int_calls_mutation.ex: Language not supported
  • lib/ae_mdw/db/mutations/name_claim_mutation.ex: Language not supported
  • lib/ae_mdw/db/mutations/write_field_mutation.ex: Language not supported
  • lib/ae_mdw/db/mutations/write_fields_mutation.ex: Language not supported
  • lib/ae_mdw/db/sync/id_counter.ex: Language not supported
  • lib/ae_mdw/fields.ex: Language not supported
  • lib/ae_mdw/names.ex: Language not supported
  • lib/ae_mdw/sync/async_tasks/update_tx_stats.ex: Language not supported
  • lib/ae_mdw_web/controllers/activity_controller.ex: Language not supported
  • lib/ae_mdw_web/router.ex: Language not supported
  • priv/migrations/20250404152424_move_account_names_count_to_new_table.ex: Language not supported
  • priv/migrations/20250420261832_add_account_counts.ex: Language not supported
  • test/ae_mdw/db/contract_call_mutation_test.exs: Language not supported
  • test/ae_mdw/db/mutations/write_fields_mutation_test.exs: Language not supported
  • test/ae_mdw/db/update_account_name_counts_test.exs: Language not supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants