mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 12:48:00 +00:00
8676c25ef4
* executor: Use non wasmi-specific execution in tests. * executor: Move all runtime execution tests into tests file. * executor: Use test_case macro to easily execute tests with different Wasm execution methods. * executor: Convert errors to strings with Display, not Debug. * node-executor: Rewrite benchmarks with criterion. They were not passing compilation before and criterion seems to be more widely used in Substrate. * executor: Begin implementation of Wasm runtime. The implementation demonstrates the outline of the execution, but does not link against the external host functions. * executor: Define and implement basic FunctionExecutor. The SandboxCapabilities::invoke is still left unimplemented. * executor: Implement host function trampoline generation. * executor: Instantiate and link runtime module to env module. * executor: Provide input data during wasmtime execution. * executor: Implement SandboxCapabilites::invoke for wasmtime executor. * executor: Integrate and test wasmtime execution method. * executor: Improve FunctionExecution error messages. * Scope the unsafe blocks to be smaller. * Rename TrampolineState to EnvState. * Let EnvState own its own compiler instead of unsafe lifetime cast. * Refactor out some common wasmi/wasmtime logic. * Typos and cosmetic changes. * More trampoline comments. * Cargo.lock update. * cli: CLI option for running Substrate with compiled Wasm execution. * executor: Switch dependency from fork to official wasmtime repo. * Quiet down cranelift logs. * Explicitly catch panics during host calls. We do this to ensure that panics do not cross language boundaries. * Additional checks and clarifications in make_trampoline. * Fixes after merge from master and panic safety for wasmtime instantiation.
112 lines
2.3 KiB
TOML
112 lines
2.3 KiB
TOML
[workspace]
|
|
members = [
|
|
"core/authority-discovery",
|
|
"core/application-crypto",
|
|
"core/chain-spec",
|
|
"core/chain-spec/derive",
|
|
"core/cli",
|
|
"core/client",
|
|
"core/client/db",
|
|
"core/client/header-metadata",
|
|
"core/consensus/aura",
|
|
"core/consensus/babe",
|
|
"core/consensus/common",
|
|
"core/consensus/rhd",
|
|
"core/consensus/slots",
|
|
"core/consensus/uncles",
|
|
"core/consensus/pow",
|
|
"core/executor",
|
|
"core/executor/runtime-test",
|
|
"core/externalities",
|
|
"core/finality-grandpa",
|
|
"core/finality-grandpa/primitives",
|
|
"core/inherents",
|
|
"core/keyring",
|
|
"core/keystore",
|
|
"core/network",
|
|
"core/panic-handler",
|
|
"core/primitives",
|
|
"core/rpc",
|
|
"core/rpc/primitives",
|
|
"core/rpc-servers",
|
|
"core/serializer",
|
|
"core/service",
|
|
"core/service/test",
|
|
"core/session",
|
|
"core/sr-api-macros",
|
|
"core/sr-arithmetic",
|
|
"core/sr-io",
|
|
"core/sr-primitives",
|
|
"core/sr-staking-primitives",
|
|
"core/sr-sandbox",
|
|
"core/sr-std",
|
|
"core/sr-version",
|
|
"core/state-machine",
|
|
"core/telemetry",
|
|
"core/test-client",
|
|
"core/test-runtime",
|
|
"core/test-runtime/client",
|
|
"core/transaction-pool",
|
|
"core/transaction-pool/graph",
|
|
"core/trie",
|
|
"core/utils/fork-tree",
|
|
"core/utils/wasm-builder",
|
|
"core/utils/wasm-builder-runner",
|
|
"core/wasm-interface",
|
|
"srml/support",
|
|
"srml/support/procedural",
|
|
"srml/support/procedural/tools",
|
|
"srml/support/procedural/tools/derive",
|
|
"srml/support/test",
|
|
"srml/authorship",
|
|
"srml/assets",
|
|
"srml/aura",
|
|
"srml/balances",
|
|
"srml/contracts",
|
|
"srml/contracts/rpc",
|
|
"srml/collective",
|
|
"srml/democracy",
|
|
"srml/elections",
|
|
"srml/elections-phragmen",
|
|
"srml/example",
|
|
"srml/executive",
|
|
"srml/finality-tracker",
|
|
"srml/generic-asset",
|
|
"srml/grandpa",
|
|
"srml/im-online",
|
|
"srml/authority-discovery",
|
|
"srml/indices",
|
|
"srml/membership",
|
|
"srml/metadata",
|
|
"srml/nicks",
|
|
"srml/offences",
|
|
"srml/randomness-collective-flip",
|
|
"srml/scored-pool",
|
|
"srml/session",
|
|
"srml/staking",
|
|
"srml/staking/reward-curve",
|
|
"srml/sudo",
|
|
"srml/system",
|
|
"srml/system/rpc",
|
|
"srml/timestamp",
|
|
"srml/treasury",
|
|
"srml/transaction-payment",
|
|
"srml/transaction-payment/rpc",
|
|
"srml/utility",
|
|
"node/cli",
|
|
"node/executor",
|
|
"node/primitives",
|
|
"node/rpc",
|
|
"node/rpc-client",
|
|
"node/runtime",
|
|
"node/testing",
|
|
"node-template",
|
|
"subkey",
|
|
"test-utils/chain-spec-builder",
|
|
]
|
|
|
|
[profile.release]
|
|
# Substrate runtime requires unwinding.
|
|
panic = "unwind"
|
|
|