Skip to content

Conversation

@siddu0523
Copy link
Contributor

This removal also makes L-01 (missing time range validation in createTokenSale) and L-02 not applicable since the feature no longer exists.

Files removed:

  • chaincode/src/sales/ (entire folder - 9 files)
  • chain-api/src/types/sale.ts

Files modified:

  • chaincode/src/index.ts (removed sales export)
  • chain-api/src/types/index.ts (removed sale export)
  • chaincode/src/test/GalaChainTokenContract.ts (removed TokenSale contract methods)

…llision

Remove the entire TokenSale feature which was unused and caused a composite-key
namespace collision (H-06) with TokenSwapFill - both used INDEX_KEY = "GCTSF".

This removal also makes L-01 (missing time range validation in createTokenSale)
and L-02 not applicable since the feature no longer exists.

Files removed:
- chaincode/src/sales/ (entire folder - 9 files)
- chain-api/src/types/sale.ts

Files modified:
- chaincode/src/index.ts (removed sales export)
- chain-api/src/types/index.ts (removed sale export)
- chaincode/src/__test__/GalaChainTokenContract.ts (removed TokenSale contract methods)
@siddu0523 siddu0523 requested a review from dzikowski December 11, 2025 23:35
@dzikowski dzikowski changed the title Fix: Remove unused TokenSale feature to resolve H-06 composite-key Fix: Remove unused TokenSale feature Dec 15, 2025
@dzikowski dzikowski added the v3 To be released in version 3 of SDK label Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v3 To be released in version 3 of SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants