Skip to content
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

Evaluate whether to make getTokenInfo a view function #164

Open
acuarica opened this issue Dec 21, 2024 · 0 comments
Open

Evaluate whether to make getTokenInfo a view function #164

acuarica opened this issue Dec 21, 2024 · 0 comments
Labels
feature Enhancing an existing feature driven by business requirements. Typically backwards compatible.

Comments

@acuarica
Copy link
Contributor

In our HTS emulation, the getTokenInfo function is currently declared as non-view. This is to mimic the declaration in the Smart Contracts repo.

Nevertheless, getTokenInfo from services (real HTS) also works when this function is declared as view. We should evaluate whether to change it to view to improve user usability.

See issue hashgraph/hedera-smart-contracts#1116 to track efforts to make it view function in the Smart Contracts repo.

@acuarica acuarica added the feature Enhancing an existing feature driven by business requirements. Typically backwards compatible. label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Enhancing an existing feature driven by business requirements. Typically backwards compatible.
Projects
Status: Backlog
Development

No branches or pull requests

1 participant