ref-fvm
ref-fvm copied to clipboard
Technical design: Wasm bytecode installation and actor deployment
Even though we have prototyped a minimal actor deployment flow here: https://github.com/filecoin-project/ref-fvm/issues/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
InitActorenhancement to addinstall_codesyscall. - Make the
install_codesyscall privileged (depends on https://github.com/filecoin-project/ref-fvm/issues/468). - Triggering bytecode validation and analysis, when, how, and costs.
- Determining Wasm bytecode limits, see filecoin-project/ref-fvm#731.
- Garbage collection of unused code entries?
Potential chunking of bytecode, if any. (Probably out of scope for M2.)
Assuming EVM-only?
Garbage collection of unused code entries?
I assume we'll punt this to "probably never".