Skip to content

chore: updated panic message for the TokenSupplyType - #1766

Merged
Dosik13 merged 1 commit into
hiero-ledger:mainfrom
manishdait:chore/wrong-type-name
Jul 9, 2026
Merged

chore: updated panic message for the TokenSupplyType#1766
Dosik13 merged 1 commit into
hiero-ledger:mainfrom
manishdait:chore/wrong-type-name

Conversation

@manishdait

Copy link
Copy Markdown
Contributor

Description:
This PR update the message for the panic in TokenSupplyType.

Changes Made:

  • Fix panic message in token_supply_type.go
  • Added unit test for TokenSupplyType

Related issue(s):

Fixes #1750

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Manish Dait <daitmanish88@gmail.com>
@lfdt-bot

lfdt-bot commented Jul 9, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
sdk/token_supply_type.go 100.00% <100.00%> (+42.85%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@manishdait
manishdait marked this pull request as ready for review July 9, 2026 10:24
@manishdait
manishdait requested review from a team as code owners July 9, 2026 10:24
@manishdait
manishdait requested review from Dosik13 and agadzhalov July 9, 2026 10:24

@Dosik13 Dosik13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm! thank you!

@Dosik13
Dosik13 merged commit 01c8ee7 into hiero-ledger:main Jul 9, 2026
13 checks passed
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.

[Good First Issue]: Fix wrong type name in TokenSupplyType.String() panic message and add tests

3 participants