Skip to content

[ProjectTracking]: ZK WASM Stage 2, WASM Interpreter #6

@aborg-dev

Description

@aborg-dev

Goals

Our long-term goal is to use ZK Proofs to scale NEAR protocol to more shards while maintaining high security guarantees.

The goal of Stage 2 is to support proofs for a WASM interpreter (compiled to WASM) that supports WASM MVP features.

Supported workloads:

  • WASM interpreter - WASMI (subject to change)
  • Running and passing all our spectests and benchmarks on ZK ASM circuit corresponding to WASM interpreter

We will also set an ambitious performance goal - we want the cycle amplification factor from WASM to ZK ASM (number of ZK ASM cycles to implement a WASM opcode) to be less than 5 on average. Right now it is around 30.

Links to external documentation and discussions

The documentation for the project can be found in near/wasmtime.

All meeting notes and design docs are indexed on HackMD.

Estimated effort

The concrete work items for this project are tracked by the milestone.

It is expected that the runtime team will be working on this project. The people actively working on this project are: @Akashin , @MCJOHN974 , @mooori , and @nagisa .

Stage 2 is expected to be completed by April 2023.

Assumptions

Assumptions and risks are enumerated in the roadmap.

Pre-requisites

Pre-requisite work will be completed as part of Stage 1

Out of scope

  • Auditing the generated code

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions