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
Result ModuleError: Contracts::CodeRejected: ["The contract's code was found to be invalid during validation.", "", "The most likely cause of this is that an API was used which is not supported by the", "node. This happens if an older node is used with a new version of ink!. Try updating", "your node to the newest available version.", "", "A more detailed error can be found on the node console if debug messages are enabled", "by supplying `-lruntime::contracts=debug`."]
The node logs produce the following error
DEBUG tokio-runtime-worker runtime::contracts: can't instantiate module with provided definitions
It works well when I use CallBuilder
The text was updated successfully, but these errors were encountered:
The aleph zero node likely does not support the v2 function currently, so you will need to explicitly indicate you want to call the legacy call_v1 method.
You need to do something like the following to call:
I have a contract with a function
deposit
, which has the following cross-contract calling inside:PSP22
is declared as a trait with#[ink::trait_definition]
I'm running local env of aleph zero node
And when I upload code using
cargo upload
I get:The node logs produce the following error
It works well when I use
CallBuilder
The text was updated successfully, but these errors were encountered: