You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment it is required to manually import the return type of contract calls for their AbiDecode impl to be available. Otherwise. we return a very misleading error message like
abi SomeAbi {
fn some_method() -> SomeType;
}
...
let abi = Abi(SomeAbi, ....);
abi.some_method();
...
error: Trait "AbiDecode" is not implemented for type "SomeType".
Which means one need to import it like
use SomeLib::SomeType;
The text was updated successfully, but these errors were encountered:
At the moment it is required to manually import the return type of contract calls for their
AbiDecode
impl to be available. Otherwise. we return a very misleading error message likeWhich means one need to import it like
The text was updated successfully, but these errors were encountered: