ask-lang / ask

The framework to write WASM smart contracts for Substrate Frame Pallet-Contracts in AssemblyScript.

Home Page:https://ask-lang.github.io/ask-docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: How to perform cross contract calls?

ashutoshvarma opened this issue · comments

The ask! v0.1.0 (ask-old) supported the cross contract calls via the use of @dynamic decorator.
Example - https://github.com/ask-lang/ask-old/tree/master/examples/crosscall

Does ask! v0.4.0 supports the cross contract calls? There is no reference of @dynamic in docs and no examples.

commented

This also need we to re-design.

The reasons are as follows:

  • There were certain problems with the previous design.
  • Waiting for the design of ink4.0 will be best.
  • The AssemblyScript version update caused some internal implementation and behavior need to be adjusted.

v0.4 ask is totally rewritten so we choose to focus main feature at that time.

Maybe we will design it in the next version.