Unify ink_env::{eval_contract, invoke_contract}
#814
Labels
A-ink_lang
[ink_lang] Work item
B-feature-request
A request for a new feature.
P-low
Low priority issue.
It looks like
eval_contract
is just a special case ofinvoke_contract
but with better performance due to not having to fetch the results of the contract invocation.From an API point of view, I think it would be more user friendly to provide a single API for cross-contract calls and let the function internally optimize depending whether or not a return type is required by the user.
The text was updated successfully, but these errors were encountered: