Skip to content

Conversation

@ice-tychon
Copy link
Contributor

@ice-tychon ice-tychon commented Jan 8, 2026

Description

Disable token creation for old posts and users without BSC wallet

  • Added tokenCreationAvailabilityProvider to check if token creation is available
  • Disables rocket icon button and shows error modal when unavailable
  • TODO: Get TC release timestamp from Remote Config to check publication date

Task ID

ION-4989

Type of Change

  • Bug fix

Screenshots

image image

@ice-tychon ice-tychon requested review from a team and ice-orion as code owners January 8, 2026 22:04
@ice-morpheus ice-morpheus enabled auto-merge (squash) January 8, 2026 22:04
@ice-morpheus ice-morpheus force-pushed the fix/tc-buy-comment-token branch 2 times, most recently from e188e58 to a9f0cbe Compare January 8, 2026 23:15
final ownerHasBscWallet = (userMetadata.valueOrNull?.hasBscWallet).falseOrValue;

// TODO: Get tokenized communities release timestamp from Remote Config and compare with entity.publishedTimestamp.
const isPublishedAfterTcRelease = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the check for whether the post has a related token definition and the check for TC release date from the config?

@ice-morpheus ice-morpheus force-pushed the fix/tc-buy-comment-token branch from a9f0cbe to 8e7ea4d Compare January 9, 2026 07:27
@ice-morpheus ice-morpheus force-pushed the fix/tc-buy-comment-token branch 3 times, most recently from 609dd9d to 2a2dce6 Compare January 9, 2026 09:40
@ice-morpheus ice-morpheus force-pushed the fix/tc-buy-comment-token branch from 2a2dce6 to d711f18 Compare January 9, 2026 10:06
@ice-tychon ice-tychon marked this pull request as draft January 9, 2026 10:46
auto-merge was automatically disabled January 9, 2026 10:46

Pull request was converted to draft

@ice-selene ice-selene removed the 1.1.0 label Jan 10, 2026
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.

4 participants