Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Ability to execute both natively and in wasm #298

@gavofyork

Description

@gavofyork

This will require a new kind of Executor that executes both using the on-chain Wasm (WasmExecutor) and, when version allows as such, natively (using NativeExecutor).

Validator nodes should use both. Normal (heavy) nodes should default to native only when still syncing the chain, and then both when keeping in sync. A CLI option --use-native should allow strategy to be chosen (always (always use native, as long as version is good), never (never use native), syncing (as described here)).

Discrepancies between native and wasm should be loudly reported to the log and telemetry.

Metadata

Metadata

Assignees

Labels

I2-securityThe client fails to follow expected, security-sensitive, behaviour.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions