-
Notifications
You must be signed in to change notification settings - Fork 15
SHARD-2476: Remove unused processedTransactions table functionality #268
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
base: dev
Are you sure you want to change the base?
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 <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
do security review |
User description
Summary
Changes
processedTxs
inserts inCollector.ts
processedTxDatabase
creation and table initialization indbstore/index.ts
Impact
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 Collector
src/Data/Collector.ts
index.ts
Disable processedTxDatabase and related table setup
src/dbstore/index.ts
processedTxs.ts
Remove unused processedTxs insert and query functions
src/dbstore/processedTxs.ts