-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error When Calling Contract Functions Using MultiContractCallHandler #1427
Comments
The problem is that for the As you are dynamically processing |
Issue: Error When Calling Contract Functions Using MultiContractCallHandler
Description
When invoking contract functions using
MultiContractCallHandler
, an error occurs:However, the transaction actually succeeds.
Steps to Reproduce
Error Details
While executing the script, the following error is encountered:
Despite this error, the transaction is successfully processed.
References
Function being called
https://github.com/compolabs/orderbook-contract/blob/testnet/src/orderbook_utils.rs#L308
Script used to call the function
https://github.com/compolabs/orderbook-contract/blob/testnet/scripts/match_in_pairs_multicall.rs
Expected Behavior
The
MultiContractCallHandler
should not throw an error if the transaction is successful. The handler should correctly interpret the result type without encountering theUnit
vsTuple([Unit])
mismatch.The text was updated successfully, but these errors were encountered: