ref-fvm icon indicating copy to clipboard operation
ref-fvm copied to clipboard

Reference implementation of the Filecoin Virtual Machine

Results 298 ref-fvm issues
Sort by recently updated
recently updated
newest added

Upcoming changes to built-in actors to implement [direct data onboarding](https://github.com/filecoin-project/FIPs/discussions/730) will invoke the `batch_verify_seals` syscall directly from the miner actor. In the past, this syscall has been invoked only from...

P1
Topic: Syscalls

Currently, `invoke`'s signature is: ```rust fn invoke(params_id: i32) -> i32 /* ret_id */; ``` However: 1. It would be nice to take the method number in the parameters. 2. It...

Kind: Discussion

Currently, calling a native method requires delegate-calling the "call actor" precompile. This: 1. Is annoying for smart contract developers: requires delegate call, doesn't work with the normal calling convention. 2....

Kind: Idea

E.g., https://github.com/paritytech/wasmi. AOT compilation can be a bit problematic for untrusted smart contracts: 1. The runtime of wasm "blocks" will depend on how they compile to native code. There are...

It may just be bad caching, may be something else. We should consider reducing them to the bare minimum.

Topic: Testing

Context: Good future question to resolve as we move closer to Wasm Acorst being on Mainnet - Will custom actors targeting Wasm be allowed to use float operators? We need...

Topic: Wasm features

- Can only export an `invoke(i32) -> i32` function. This will likely change to allow a `validate` and/or `constructor` function in the near future, but we're not allowing arbitrary functions....

Topic: Wasm bytecode and modules
Hint: Needs design

We currently have: - `verify_signature` for verifying arbitrary signatures. - `recover_secp_public_key` for recovering a secp public key from a secp signature. Unfortunately, the first one is a bit limited: -...

We currently include return values in receipts but not their codecs. The last part of https://github.com/filecoin-project/ref-fvm/issues/987.

@alexytsu and I are improving tooling for benchmarking and profiling native actors on the FVM (see https://github.com/anorth/fvm-workbench and https://github.com/filecoin-project/builtin-actors/issues/1236). We've run into great difficulty attempting to fake out expensive VM...