Skip to content

[sdk/indexer] Enhance data migration and type handling#694

Merged
Wizdave97 merged 1 commit intomainfrom
fix-schema
Mar 12, 2026
Merged

[sdk/indexer] Enhance data migration and type handling#694
Wizdave97 merged 1 commit intomainfrom
fix-schema

Conversation

@Wizdave97
Copy link
Member

  • Updated migrate-entity-data.ts to support column-level transformations during data migration.
  • Modified GraphQL schema to change inputUSD and usdValue fields from String to BigInt for better numeric handling.
  • Adjusted intentGatewayV2.service.ts and tokenGateway.service.ts to ensure proper conversion of inputUSD and usdValue to BigInt during order processing and teleportation.

- Updated `migrate-entity-data.ts` to support column-level transformations during data migration.
- Modified GraphQL schema to change `inputUSD` and `usdValue` fields from `String` to `BigInt` for better numeric handling.
- Adjusted `intentGatewayV2.service.ts` and `tokenGateway.service.ts` to ensure proper conversion of `inputUSD` and `usdValue` to `BigInt` during order processing and teleportation.
@Wizdave97 Wizdave97 requested a review from royvardhan March 12, 2026 10:17
@Wizdave97 Wizdave97 merged commit 6d7a60f into main Mar 12, 2026
1 of 2 checks passed
@Wizdave97 Wizdave97 deleted the fix-schema branch March 12, 2026 11:22
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