#tetcoin #tetcore #crypto #blockchain #framework

tc-executor

A crate that provides means of executing/dispatching calls into the runtime

1 unstable release

0.8.0 Apr 4, 2021
0.0.0 Mar 5, 2021

#142 in #tetcore

33 downloads per month
Used in 52 crates (13 directly)

GPL-3.0-or-later WITH Classpath-exception-2.0

1MB
17K SLoC

A crate that provides means of executing/dispatching calls into the runtime.

There are a few responsibilities of this crate at the moment:

  • It provides an implementation of a common entrypoint for calling into the runtime, both wasm and compiled.
  • It defines the environment for the wasm execution, namely the host functions that are to be provided into the wasm runtime module.
  • It also provides the required infrastructure for executing the current wasm runtime (specified by the current value of :code in the provided externalities), i.e. interfacing with wasm engine used, instance cache.

License: GPL-3.0-or-later WITH Classpath-exception-2.0


lib.rs:

A crate that provides means of executing/dispatching calls into the runtime.

There are a few responsibilities of this crate at the moment:

  • It provides an implementation of a common entrypoint for calling into the runtime, both wasm and compiled.
  • It defines the environment for the wasm execution, namely the host functions that are to be provided into the wasm runtime module.
  • It also provides the required infrastructure for executing the current wasm runtime (specified by the current value of :code in the provided externalities), i.e. interfacing with wasm engine used, instance cache.

Dependencies

~9–13MB
~280K SLoC