filecoin-project / filecoin-project/ref-fvm

Reconsider Wasmtime's allocation strategy "max table elements" config option

Open
#2,127 0 comments 0 reactions 0 assignees View on GitHub
Topic: Gas and limits Topic: User Wasm
Dominant language
Rust
Stars
422
Forks
154
PR merge metrics
PR metrics pending

Description

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 for in our memory accounting logic. We currently charge for table use _as they're used_.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.