ink icon indicating copy to clipboard operation
ink copied to clipboard

Migrate example for invoking runtime from ink-types-node-runtime

Open ascjones opened this issue 5 years ago • 3 comments

We should consider moving this example https://github.com/paritytech/ink-types-node-runtime/tree/master/examples/calls into this repo, in order to ensure it doesn't get out of date and to increase visibility.

It should not significantly increase CI times, which it has the potential to because it has some substrate dependencies. This can of course be mitigated with caching, but would need to be experimented with.

ascjones avatar Mar 02 '20 17:03 ascjones

I would like to hear @TriplEight 's opinion on the feasibility of this.

Robbepop avatar Mar 02 '20 17:03 Robbepop

It will not seriously affect CI times of this repo, please go ahead with migration.

TriplEight avatar Mar 09 '20 12:03 TriplEight

I just stumbled upon this ticket.

Summary:

  • This functionality should currently be implemented via chain extensions.
  • There is an unstable API call_runtime in pallet-contracts, which will enable this in the future.
  • The function signature of it will change though.
  • Let's wait until the function call_runtime is stabilized before tackling this issue.

cmichi avatar Jan 30 '23 13:01 cmichi