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

Remove Backend DB Dependency #21

Merged
merged 3 commits into from
Aug 1, 2024
Merged

Remove Backend DB Dependency #21

merged 3 commits into from
Aug 1, 2024

Conversation

shubhagarwal03
Copy link
Contributor

@shubhagarwal03 shubhagarwal03 commented Jul 31, 2024

This PR is to remove the dependency on the protocol's database for fetching transaction data.
I have removed select_transactions.sql that was used to make the query to the backend db.

get_tx_hashes_blocks() and get_auction_id() are used to fetch blockchain data (helper functions), and fetch_tx_data() prepares and returns a tuple that constitutes transaction data for our purpose.

Copy link
Contributor

@harisang harisang left a comment

Choose a reason for hiding this comment

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

Looks good!

@harisang harisang merged commit a427aa6 into main Aug 1, 2024
3 checks passed
@shubhagarwal03 shubhagarwal03 deleted the remove-backend-db branch August 22, 2024 13:16
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