Previously contract developers needed to bring traits into scope to allow the code generated for acl to call methods of some traits:
std::convert::TryFrom for method try_from
near_plugins::events::AsEvent for method emit
In this PR, calls to above methods are changed to fully qualified syntax. As a result, the traits no longer need to be brought into scope with use statements.
Previously contract developers needed to bring traits into scope to allow the code generated for acl to call methods of some traits:
std::convert::TryFrom
for methodtry_from
near_plugins::events::AsEvent
for methodemit
In this PR, calls to above methods are changed to fully qualified syntax. As a result, the traits no longer need to be brought into scope with
use
statements.