Skip to content

Add unit tests for creator key decimals consistency with token standard #364

@Chucks1093

Description

@Chucks1093

Summary
The creator key decimals method returns a fixed value, but there are no unit tests confirming the value is consistent with the token standard expected by clients and wallets. A unit test that asserts the exact decimals value prevents silent regressions if the value is ever changed.

Scope

  • add a unit test that reads the creator key decimals method
  • assert the returned value matches the token standard constant
  • add a second case that confirms the value is identical across different registered creators

Acceptance Criteria

  • the decimals method returns the expected token standard value
  • the value is consistent across different creator instances
  • the expected value is defined as a named constant in the test

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions