Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add columns to user_transactions table #656

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

0xmaayan
Copy link

@0xmaayan 0xmaayan commented Jan 7, 2025

Following https://aptos-org.slack.com/archives/C03MN5F7WUV/p1734539332759199 , adding contract_address, module_name, and function_name columns to the user_transactions table to index each of the entry function string data separately.

image

@0xmaayan 0xmaayan requested a review from rtso January 7, 2025 01:23
@0xmaayan 0xmaayan force-pushed the add_columns_to_user_transactions_table branch from aecc42b to 097c733 Compare January 7, 2025 02:08
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.1%. Comparing base (0cad206) to head (ecf5050).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #656   +/-   ##
=====================================
  Coverage   48.0%   48.1%           
=====================================
  Files        232     232           
  Lines      27159   27207   +48     
=====================================
+ Hits       13055   13103   +48     
  Misses     14104   14104           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@0xmaayan 0xmaayan force-pushed the add_columns_to_user_transactions_table branch from 097c733 to f6af779 Compare January 7, 2025 02:28
@0xmaayan 0xmaayan force-pushed the add_columns_to_user_transactions_table branch from f6af779 to d7ed05e Compare January 7, 2025 02:50
@0xmaayan 0xmaayan requested review from banool and larry-aptos January 7, 2025 15:23
@rtso
Copy link
Collaborator

rtso commented Jan 8, 2025

nit on column naming - can we prefix the new columns with entry_function_ to show they're all related?

@0xmaayan
Copy link
Author

0xmaayan commented Jan 8, 2025

nit on column naming - can we prefix the new columns with entry_function_ to show they're all related?

done

@0xmaayan 0xmaayan force-pushed the add_columns_to_user_transactions_table branch 3 times, most recently from a270066 to 392ddff Compare January 8, 2025 23:37
@0xmaayan 0xmaayan force-pushed the add_columns_to_user_transactions_table branch from 392ddff to ecf5050 Compare January 9, 2025 00:18
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