Skip to content

Technical design: Wasm bytecode installation and actor deployment #729

@raulk

Description

@raulk

Even though we have prototyped a minimal actor deployment flow here: #444, we need a final design that takes into account aspects like:

  • How actor code CIDs will be linked into the state tree.
  • Which code metadata we support, how it's represented, and where is it stored (init actor or system actor?).
  • Potential chunking of bytecode, if any. (Probably out of scope for M2.)
  • Confirm InitActor enhancement to add install_code syscall.
  • Make the install_code syscall privileged (depends on Privilege system for syscalls #468).
  • Triggering bytecode validation and analysis, when, how, and costs.
  • Determining Wasm bytecode limits, see Technical design: Wasm bytecode limits #731.
  • Garbage collection of unused code entries?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions