Skip to content

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.

2 participants