Evaluate whether to make getTokenInfo
a view
function
#164
Labels
feature
Enhancing an existing feature driven by business requirements. Typically backwards compatible.
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 asview
. We should evaluate whether to change it toview
to improve user usability.See issue hashgraph/hedera-smart-contracts#1116 to track efforts to make it
view
function in the Smart Contracts repo.The text was updated successfully, but these errors were encountered: