SHARD-2476: Remove unused processedTransactions table functionality#268
Open
kun6fup4nd4 wants to merge 2 commits intodevfrom
Open
SHARD-2476: Remove unused processedTransactions table functionality#268kun6fup4nd4 wants to merge 2 commits intodevfrom
kun6fup4nd4 wants to merge 2 commits intodevfrom
Conversation
- Comment out all processedTxs inserts in Collector.ts - Disable processedTxDatabase creation and table initialization - Keep code commented for potential future reactivation - txDigest functionality is not currently used This change will prevent the creation and population of the processedTxs table, saving storage space without affecting any active functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Contributor
PR Code Suggestions ✨No code suggestions found for the PR. |
Contributor
|
do security review |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Summary
Changes
processedTxsinserts inCollector.tsprocessedTxDatabasecreation and table initialization indbstore/index.tsImpact
Test Plan
🤖 Generated with Claude Code
PR Type
enhancement
Description
Disabled all processedTransactions table creation and usage
Commented out processedTxs inserts in Collector logic
Skipped processedTxDatabase initialization and table setup
Removed unused processedTxs insert/query functions for clarity
Changes walkthrough 📝
Collector.ts
Disable processedTxs logic and references in Collectorsrc/Data/Collector.ts
index.ts
Disable processedTxDatabase and related table setupsrc/dbstore/index.ts
processedTxs.ts
Remove unused processedTxs insert and query functionssrc/dbstore/processedTxs.ts