-
Notifications
You must be signed in to change notification settings - Fork 92
feat: update TokenInfo to dump all token fields (#914) #928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Om7035 <speedtech602@gmail.com>
|
Hi, this is WorkflowBot.
|
|
@exploreriii need your help I have:
This same behavior has occurred on another recent PR (#927) of mine as well. Could you please take a look? It seems like the workflow might not be picking up the changes correctly or there might be a subtle formatting requirement I'm missing. |
|
Hi @Om7035 sincere apologies for that, we are aware of the bug and are implementing a fix |
Thanks @exploreriii its been resolved |
|
just merged the fix, thanks for rebasing so the recent changes apply, looks positive for now! |
|
@exploreriii how can I contact you on discord? |
|
My details are noted in /MAINTAINERS.md, you can also read docs/discord.md |
Description
This PR updates the
__str__method of theTokenInfoclass to include all available token fields in its string representation. Previously, several important fields such ascustom_fees, various keys (admin, kyc, freeze, etc.), and status flags were missing from the output, making debugging and logging less informative.The following fields have been added to the
__str__output:custom_feesadmin_key,kyc_key,freeze_key,wipe_key,supply_key,metadata_key,fee_schedule_key,pause_keydefault_freeze_status,default_kyc_status,pause_statusauto_renew_account,auto_renew_periodexpirysupply_typeRelated Issue
Fixes #914
Type of Change
Checklist
CHANGELOG.mdunder the[Unreleased]section.