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

We currently use the default of 20k but it sounds like that reserves enough memory for 20k elements up-front even if they aren't used, which is something we should charge...

Topic: Gas and limits
Topic: User Wasm

In nv16 (M1), the FVM itself has a list of all builtin actors, allowing actors to resolve code CIDs to actor "type" (see https://github.com/filecoin-project/ref-fvm/issues/342). However, this isn't sustainable: 1. ~It's...

Topic: User Wasm

Right now we map integers to KAMT keys by encoding them with "native endian": 1. This is non-portable, but almost always going to be little-endian. 2. Little endian is never...

While debugging an issue with @travisperson, we turned on `RUST_BACKTRACE=1` and noticed a deep wasmtime backtrace which we weren't expecting. We should figure out why this is happening. (There wasn't...

maybe-bug

We need a basic framework to determine the effects of FVM and actor changes on gas fees. Specifically, we need a dual execution benchmarking framework in lotus that can execute...

Topic: Gas and limits

We need to know: - Cost to randomly read one word. - Cost to randomly write one word. - Write cost per byte (bulk). - Read cost per byte (bulk)....

We have a few places where we can potentially reduce gas fees: 1. When opening blocks, we can charge the first time the block was read during the current transaction...

It would be nice to be able to just assume that the following IPLD blocks are always available (and maybe even charge less for reading/writing them?): - Empty CBOR array....

Kind: Improvement
Topic: IPLD