Skip to content

Chore: Sync Fairmint OCP, Remove Historical Transactions, and Refactor Migration Script #103

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

Merged
merged 11 commits into from
Jul 29, 2025

Conversation

AdamMomen
Copy link
Collaborator

@AdamMomen AdamMomen commented Jul 29, 2025

Summary

This update refactors the database schema by removing the centralized HistoricalTransaction model in favor of storing the tx_hash directly on individual transaction documents. It also introduces support for StockCancellation transactions, streamlines the migration script for better automation, and includes a minor dependency downgrade to fix installation issues.

Changes

  • Refactor: Replaced the HistoricalTransaction model by storing tx_hash directly on individual transaction documents for a simpler, more efficient schema.
  • Feat: Added full support for StockCancellation transactions, including a new database model, API endpoint, and creation operations.
  • Chore: Improved the migrate.js script for better automation by removing interactive prompts and using a targeted ISSUERS_TO_MIGRATE list.
  • Fix: Downgraded ts-jest to ^29.4.0 to resolve package installation errors.

@AdamMomen AdamMomen self-assigned this Jul 29, 2025
@AdamMomen AdamMomen changed the title Fix Dependency ts-jest version Chore: Sync Fairmint OCP, Remove Historical Transactions, and Refactor Migration Script Jul 29, 2025
@AdamMomen AdamMomen added the enhancement New feature or request label Jul 29, 2025
@AdamMomen AdamMomen merged commit a4eaad2 into main Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant